home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-01-05 | 814.5 KB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue Dec 22 11:42:13 1992, modified Tue Jan 5 10:07:47 1993, creator 'HLX2', type 'ONLN', 812928 bytes "TN-Text" , at 0xc6800 20889 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 54 4e 2d 54 65 78 | 74 00 00 00 00 00 00 00 |..TN-Tex|t.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 0c 67 80 00 | 00 51 99 a7 5c f5 e5 a7 |.....g..|.Q..\...|
|00000060| 6f 54 c3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |oT......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 41 42 00 00 |........|....AB..|
|00000080| 54 68 65 20 41 70 70 65 | 61 72 61 6e 63 65 20 6f |The Appe|arance o|
|00000090| 66 20 54 65 78 74 0d 54 | 65 78 74 09 09 4d 2e 54 |f Text.T|ext..M.T|
|000000a0| 45 2e 41 70 70 65 61 72 | 61 6e 63 65 0d 52 65 76 |E.Appear|ance.Rev|
|000000b0| 69 73 65 64 20 62 79 3a | 09 09 4d 61 72 63 68 20 |ised by:|..March |
|000000c0| 31 39 38 38 0d 57 72 69 | 74 74 65 6e 20 62 79 3a |1988.Wri|tten by:|
|000000d0| 09 47 69 6e 67 65 72 20 | 4a 65 72 6e 69 67 61 6e |.Ginger |Jernigan|
|000000e0| 09 4e 6f 76 65 6d 62 65 | 72 20 31 39 38 36 0d 54 |.Novembe|r 1986.T|
|000000f0| 68 69 73 20 74 65 63 68 | 6e 69 63 61 6c 20 6e 6f |his tech|nical no|
|00000100| 74 65 20 64 65 73 63 72 | 69 62 65 73 20 77 68 79 |te descr|ibes why|
|00000110| 20 74 65 78 74 20 64 6f | 65 73 6e d5 74 20 61 6c | text do|esn.t al|
|00000120| 77 61 79 73 20 6c 6f 6f | 6b 20 74 68 65 20 77 61 |ways loo|k the wa|
|00000130| 79 20 79 6f 75 20 65 78 | 70 65 63 74 20 64 65 70 |y you ex|pect dep|
|00000140| 65 6e 64 69 6e 67 20 6f | 6e 20 74 68 65 20 65 6e |ending o|n the en|
|00000150| 76 69 72 6f 6e 6d 65 6e | 74 20 79 6f 75 20 61 72 |vironmen|t you ar|
|00000160| 65 20 69 6e 2e 0d 54 68 | 65 72 65 20 61 72 65 20 |e in..Th|ere are |
|00000170| 61 20 6e 75 6d 62 65 72 | 20 6f 66 20 4d 61 63 69 |a number| of Maci|
|00000180| 6e 74 6f 73 68 20 74 65 | 78 74 20 65 64 69 74 69 |ntosh te|xt editi|
|00000190| 6e 67 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |ng appli|cations |
|000001a0| 77 68 65 72 65 20 6c 61 | 79 6f 75 74 20 69 73 20 |where la|yout is |
|000001b0| 63 72 69 74 69 63 61 6c | 2e 20 20 55 6e 66 6f 72 |critical|. Unfor|
|000001c0| 74 75 6e 61 74 65 6c 79 | 2c 20 74 65 78 74 20 6f |tunately|, text o|
|000001d0| 6e 20 61 20 6e 65 77 65 | 72 20 6d 61 63 68 69 6e |n a newe|r machin|
|000001e0| 65 20 73 6f 6d 65 74 69 | 6d 65 73 20 70 72 69 6e |e someti|mes prin|
|000001f0| 74 73 20 64 69 66 66 65 | 72 65 6e 74 6c 79 20 74 |ts diffe|rently t|
|00000200| 68 61 6e 20 74 65 78 74 | 20 6f 6e 20 61 20 36 34 |han text| on a 64|
|00000210| 4b 20 52 4f 4d 20 4d 61 | 63 69 6e 74 6f 73 68 2e |K ROM Ma|cintosh.|
|00000220| 20 4c 65 74 d5 73 20 65 | 78 61 6d 69 6e 65 20 73 | Let.s e|xamine s|
|00000230| 6f 6d 65 20 64 69 66 66 | 65 72 65 6e 63 65 73 20 |ome diff|erences |
|00000240| 79 6f 75 20 73 68 6f 75 | 6c 64 20 65 78 70 65 63 |you shou|ld expec|
|00000250| 74 20 61 6e 64 20 77 68 | 79 2e 0d 54 68 65 20 64 |t and wh|y..The d|
|00000260| 69 66 66 65 72 65 6e 63 | 65 73 20 77 65 20 77 69 |ifferenc|es we wi|
|00000270| 6c 6c 20 63 6f 6e 73 69 | 64 65 72 20 68 65 72 65 |ll consi|der here|
|00000280| 20 61 72 65 20 6f 6e 6c | 79 20 64 69 66 66 65 72 | are onl|y differ|
|00000290| 65 6e 63 65 73 20 69 6e | 20 74 68 65 20 6c 61 79 |ences in| the lay|
|000002a0| 6f 75 74 20 6f 66 20 74 | 65 78 74 20 6c 69 6e 65 |out of t|ext line|
|000002b0| 73 20 28 6c 69 6e 65 20 | 6c 61 79 6f 75 74 29 2c |s (line |layout),|
|000002c0| 20 6e 6f 74 20 64 69 66 | 66 65 72 65 6e 63 65 73 | not dif|ferences|
|000002d0| 20 69 6e 20 74 68 65 20 | 61 70 70 65 61 72 61 6e | in the |appearan|
|000002e0| 63 65 20 6f 66 20 66 6f | 6e 74 73 20 6f 72 20 74 |ce of fo|nts or t|
|000002f0| 68 65 20 64 69 66 66 65 | 72 65 6e 63 65 73 20 62 |he diffe|rences b|
|00000300| 65 74 77 65 65 6e 20 64 | 69 66 66 65 72 65 6e 74 |etween d|ifferent|
|00000310| 20 70 72 69 6e 74 65 72 | 73 2e 20 44 69 66 66 65 | printer|s. Diffe|
|00000320| 72 65 6e 63 65 73 20 69 | 6e 20 6c 69 6e 65 20 6c |rences i|n line l|
|00000330| 61 79 6f 75 74 20 6d 61 | 79 20 61 66 66 65 63 74 |ayout ma|y affect|
|00000340| 20 74 68 65 20 70 6f 73 | 69 74 69 6f 6e 20 6f 66 | the pos|ition of|
|00000350| 20 6c 69 6e 65 2c 20 70 | 61 72 61 67 72 61 70 68 | line, p|aragraph|
|00000360| 20 61 6e 64 20 70 61 67 | 65 20 62 72 65 61 6b 73 | and pag|e breaks|
|00000370| 2e 20 54 68 65 20 66 6f | 75 72 20 76 61 72 69 61 |. The fo|ur varia|
|00000380| 62 6c 65 73 20 74 68 61 | 74 20 63 61 6e 20 61 66 |bles tha|t can af|
|00000390| 66 65 63 74 20 6c 69 6e | 65 20 6c 61 79 6f 75 74 |fect lin|e layout|
|000003a0| 20 61 72 65 20 66 6f 6e | 74 73 2c 20 74 68 65 20 | are fon|ts, the |
|000003b0| 70 72 69 6e 74 65 72 20 | 64 72 69 76 65 72 2c 20 |printer |driver, |
|000003c0| 74 68 65 20 66 6f 6e 74 | 20 6d 61 6e 61 67 65 72 |the font| manager|
|000003d0| 20 6d 6f 64 65 2c 20 61 | 6e 64 20 52 4f 4d 73 2e | mode, a|nd ROMs.|
|000003e0| 0d 46 6f 6e 74 73 0d 45 | 76 65 72 79 20 66 6f 6e |.Fonts.E|very fon|
|000003f0| 74 20 6f 6e 20 61 20 4d | 61 63 69 6e 74 6f 73 68 |t on a M|acintosh|
|00000400| 20 63 6f 6e 74 61 69 6e | 73 20 69 74 73 20 6f 77 | contain|s its ow|
|00000410| 6e 20 74 61 62 6c 65 20 | 6f 66 20 77 69 64 74 68 |n table |of width|
|00000420| 73 20 77 68 69 63 68 20 | 74 65 6c 6c 73 20 51 75 |s which |tells Qu|
|00000430| 69 63 6b 44 72 61 77 20 | 68 6f 77 20 77 69 64 65 |ickDraw |how wide|
|00000440| 20 63 68 61 72 61 63 74 | 65 72 73 20 61 72 65 20 | charact|ers are |
|00000450| 6f 6e 20 74 68 65 20 73 | 63 72 65 65 6e 2e 20 46 |on the s|creen. F|
|00000460| 6f 72 20 65 76 65 72 79 | 20 73 74 79 6c 65 20 70 |or every| style p|
|00000470| 6f 69 6e 74 20 73 69 7a | 65 20 74 68 65 72 65 20 |oint siz|e there |
|00000480| 69 73 20 61 20 73 65 70 | 61 72 61 74 65 20 74 61 |is a sep|arate ta|
|00000490| 62 6c 65 20 77 68 69 63 | 68 20 6d 61 79 20 63 6f |ble whic|h may co|
|000004a0| 6e 74 61 69 6e 20 77 69 | 64 74 68 73 20 74 68 61 |ntain wi|dths tha|
|000004b0| 74 20 76 61 72 79 20 66 | 72 6f 6d 20 66 61 63 65 |t vary f|rom face|
|000004c0| 20 74 6f 20 66 61 63 65 | 20 61 6e 64 20 66 72 6f | to face| and fro|
|000004d0| 6d 20 70 6f 69 6e 74 20 | 73 69 7a 65 20 74 6f 20 |m point |size to |
|000004e0| 70 6f 69 6e 74 20 73 69 | 7a 65 2e 20 43 68 61 72 |point si|ze. Char|
|000004f0| 61 63 74 65 72 20 77 69 | 64 74 68 73 20 63 61 6e |acter wi|dths can|
|00000500| 20 76 61 72 79 20 62 65 | 74 77 65 65 6e 20 70 6f | vary be|tween po|
|00000510| 69 6e 74 20 73 69 7a 65 | 73 20 6f 66 20 63 68 61 |int size|s of cha|
|00000520| 72 61 63 74 65 72 73 20 | 65 76 65 6e 20 69 6e 20 |racters |even in |
|00000530| 74 68 65 20 73 61 6d 65 | 20 66 61 63 65 2e 20 49 |the same| face. I|
|00000540| 6e 20 6f 74 68 65 72 20 | 77 6f 72 64 73 2c 20 66 |n other |words, f|
|00000550| 6f 6e 74 73 20 6f 6e 20 | 74 68 65 20 73 63 72 65 |onts on |the scre|
|00000560| 65 6e 20 61 72 65 20 6e | 6f 74 20 6e 65 63 65 73 |en are n|ot neces|
|00000570| 73 61 72 69 6c 79 20 6c | 69 6e 65 61 72 6c 79 20 |sarily l|inearly |
|00000580| 73 63 61 6c 61 62 6c 65 | 2e 0d 4e 6f 6e 2d 6c 69 |scalable|..Non-li|
|00000590| 6e 65 61 72 69 74 79 20 | 69 73 20 6e 6f 74 20 6e |nearity |is not n|
|000005a0| 6f 72 6d 61 6c 6c 79 20 | 61 20 70 72 6f 62 6c 65 |ormally |a proble|
|000005b0| 6d 20 73 69 6e 63 65 20 | 6d 6f 73 74 20 66 6f 6e |m since |most fon|
|000005c0| 74 73 20 61 72 65 20 64 | 65 73 69 67 6e 65 64 20 |ts are d|esigned |
|000005d0| 74 6f 20 62 65 20 61 73 | 20 63 6c 6f 73 65 20 74 |to be as| close t|
|000005e0| 6f 20 6c 69 6e 65 61 72 | 20 61 73 20 70 6f 73 73 |o linear| as poss|
|000005f0| 69 62 6c 65 2e 20 41 20 | 66 6f 6e 74 20 66 61 63 |ible. A |font fac|
|00000600| 65 20 69 6e 20 36 20 70 | 6f 69 6e 74 20 68 61 73 |e in 6 p|oint has|
|00000610| 20 76 65 72 79 20 6e 65 | 61 72 6c 79 20 74 68 65 | very ne|arly the|
|00000620| 20 73 61 6d 65 20 73 63 | 61 6c 65 64 20 77 69 64 | same sc|aled wid|
|00000630| 74 68 73 20 6f 66 20 74 | 68 65 20 73 61 6d 65 20 |ths of t|he same |
|00000640| 66 6f 6e 74 20 66 61 63 | 65 20 69 6e 20 32 34 20 |font fac|e in 24 |
|00000650| 70 6f 69 6e 74 20 28 70 | 6c 75 73 20 6f 72 20 6d |point (p|lus or m|
|00000660| 69 6e 75 73 20 72 6f 75 | 6e 64 2d 6f 66 66 20 6f |inus rou|nd-off o|
|00000670| 72 20 74 72 75 6e 63 61 | 74 69 6f 6e 20 64 69 66 |r trunca|tion dif|
|00000680| 66 65 72 65 6e 63 65 73 | 29 2e 20 51 75 69 63 6b |ferences|). Quick|
|00000690| 44 72 61 77 2c 20 68 6f | 77 65 76 65 72 2c 20 72 |Draw, ho|wever, r|
|000006a0| 65 71 75 69 72 65 73 20 | 6f 6e 6c 79 20 6f 6e 65 |equires |only one|
|000006b0| 20 66 61 63 65 20 6f 66 | 20 61 6e 79 20 70 61 72 | face of| any par|
|000006c0| 74 69 63 75 6c 61 72 20 | 66 6f 6e 74 20 74 6f 20 |ticular |font to |
|000006d0| 62 65 20 69 6e 20 74 68 | 65 20 53 79 73 74 65 6d |be in th|e System|
|000006e0| 20 66 69 6c 65 20 74 6f | 20 75 73 65 20 69 74 20 | file to| use it |
|000006f0| 69 6e 20 61 6e 79 20 70 | 6f 69 6e 74 20 73 69 7a |in any p|oint siz|
|00000700| 65 2e 20 49 66 20 6f 6e | 6c 79 20 61 20 31 30 20 |e. If on|ly a 10 |
|00000710| 70 6f 69 6e 74 20 66 61 | 63 65 20 61 63 74 75 61 |point fa|ce actua|
|00000720| 6c 6c 79 20 65 78 69 73 | 74 73 2c 20 51 75 69 63 |lly exis|ts, Quic|
|00000730| 6b 44 72 61 77 20 6d 61 | 79 20 73 63 61 6c 65 20 |kDraw ma|y scale |
|00000740| 74 68 61 74 20 66 61 63 | 65 20 74 6f 20 39 2c 20 |that fac|e to 9, |
|00000750| 31 38 2c 20 32 34 20 28 | 6f 72 20 77 68 61 74 65 |18, 24 (|or whate|
|00000760| 76 65 72 20 70 6f 69 6e | 74 20 73 69 7a 65 29 20 |ver poin|t size) |
|00000770| 62 79 20 70 65 72 66 6f | 72 6d 69 6e 67 20 61 20 |by perfo|rming a |
|00000780| 6c 69 6e 65 61 72 20 73 | 63 61 6c 65 20 6f 66 20 |linear s|cale of |
|00000790| 74 68 65 20 31 30 20 70 | 6f 69 6e 74 20 66 61 63 |the 10 p|oint fac|
|000007a0| 65 2e 20 0d 54 68 69 73 | 20 63 61 6e 20 63 61 75 |e. .This| can cau|
|000007b0| 73 65 20 70 72 6f 62 6c | 65 6d 73 2e 20 53 75 70 |se probl|ems. Sup|
|000007c0| 70 6f 73 65 20 61 20 64 | 6f 63 75 6d 65 6e 74 20 |pose a d|ocument |
|000007d0| 69 73 20 63 72 65 61 74 | 65 64 20 6f 6e 20 6f 6e |is creat|ed on on|
|000007e0| 65 20 4d 61 63 69 6e 74 | 6f 73 68 20 63 6f 6e 74 |e Macint|osh cont|
|000007f0| 61 69 6e 69 6e 67 20 61 | 20 66 6f 6e 74 20 74 68 |aining a| font th|
|00000800| 61 74 20 6f 6e 6c 79 20 | 65 78 69 73 74 73 20 69 |at only |exists i|
|00000810| 6e 20 74 68 61 74 20 53 | 79 73 74 65 6d 20 66 69 |n that S|ystem fi|
|00000820| 6c 65 20 69 6e 20 6f 6e | 65 20 70 6f 69 6e 74 20 |le in on|e point |
|00000830| 73 69 7a 65 2c 20 73 61 | 79 20 39 20 70 6f 69 6e |size, sa|y 9 poin|
|00000840| 74 2e 20 54 68 65 20 64 | 6f 63 75 6d 65 6e 74 20 |t. The d|ocument |
|00000850| 69 73 20 74 68 65 6e 20 | 74 61 6b 65 6e 20 74 6f |is then |taken to|
|00000860| 20 61 6e 6f 74 68 65 72 | 20 4d 61 63 69 6e 74 6f | another| Macinto|
|00000870| 73 68 20 77 69 74 68 20 | 61 20 53 79 73 74 65 6d |sh with |a System|
|00000880| 20 66 69 6c 65 20 63 6f | 6e 74 61 69 6e 69 6e 67 | file co|ntaining|
|00000890| 20 74 68 61 74 20 73 61 | 6d 65 20 66 6f 6e 74 20 | that sa|me font |
|000008a0| 62 75 74 20 6f 6e 6c 79 | 20 69 6e 20 32 34 20 70 |but only| in 24 p|
|000008b0| 6f 69 6e 74 2e 20 54 68 | 65 20 64 6f 63 75 6d 65 |oint. Th|e docume|
|000008c0| 6e 74 20 6d 61 79 2c 20 | 69 6e 20 66 61 63 74 2c |nt may, |in fact,|
|000008d0| 20 61 70 70 65 61 72 20 | 64 69 66 66 65 72 65 6e | appear |differen|
|000008e0| 74 6c 79 20 6f 6e 20 74 | 68 65 20 74 77 6f 20 73 |tly on t|he two s|
|000008f0| 63 72 65 65 6e 73 2c 20 | 61 6e 64 20 77 68 65 6e |creens, |and when|
|00000900| 20 69 74 20 69 73 20 70 | 72 69 6e 74 65 64 2c 20 | it is p|rinted, |
|00000910| 77 69 6c 6c 20 68 61 76 | 65 20 6c 69 6e 65 20 62 |will hav|e line b|
|00000920| 72 65 61 6b 73 20 28 61 | 6e 64 20 74 68 75 73 20 |reaks (a|nd thus |
|00000930| 70 61 72 61 67 72 61 70 | 68 20 61 6e 64 20 70 61 |paragrap|h and pa|
|00000940| 67 65 20 62 72 65 61 6b | 73 29 20 6f 63 63 75 72 |ge break|s) occur|
|00000950| 72 69 6e 67 20 69 6e 20 | 64 69 66 66 65 72 65 6e |ring in |differen|
|00000960| 74 20 70 6c 61 63 65 73 | 20 73 69 6d 70 6c 79 20 |t places| simply |
|00000970| 62 65 63 61 75 73 65 20 | 6f 66 20 74 68 65 20 64 |because |of the d|
|00000980| 69 66 66 65 72 65 6e 63 | 65 73 20 69 6e 20 63 68 |ifferenc|es in ch|
|00000990| 61 72 61 63 74 65 72 20 | 77 69 64 74 68 73 20 74 |aracter |widths t|
|000009a0| 68 61 74 20 65 78 69 73 | 74 20 62 65 74 77 65 65 |hat exis|t betwee|
|000009b0| 6e 20 74 68 65 20 39 20 | 70 6f 69 6e 74 20 61 6e |n the 9 |point an|
|000009c0| 64 20 32 34 20 70 6f 69 | 6e 74 20 66 61 63 65 73 |d 24 poi|nt faces|
|000009d0| 2e 0d 54 68 65 20 50 72 | 69 6e 74 65 72 20 44 72 |..The Pr|inter Dr|
|000009e0| 69 76 65 72 0d 45 76 65 | 6e 20 77 68 65 6e 20 74 |iver.Eve|n when t|
|000009f0| 68 65 20 70 72 69 6e 74 | 65 72 20 79 6f 75 20 61 |he print|er you a|
|00000a00| 72 65 20 75 73 69 6e 67 | 20 68 61 73 20 61 20 6d |re using| has a m|
|00000a10| 75 63 68 20 68 69 67 68 | 65 72 20 72 65 73 6f 6c |uch high|er resol|
|00000a20| 75 74 69 6f 6e 20 74 68 | 61 6e 20 77 68 61 74 20 |ution th|an what |
|00000a30| 74 68 65 20 73 63 72 65 | 65 6e 20 63 61 6e 20 73 |the scre|en can s|
|00000a40| 68 6f 77 2c 20 70 72 69 | 6e 74 65 72 20 64 72 69 |how, pri|nter dri|
|00000a50| 76 65 72 73 20 70 65 72 | 66 6f 72 6d 20 6c 69 6e |vers per|form lin|
|00000a60| 65 20 6c 61 79 6f 75 74 | 20 74 6f 20 6d 61 74 63 |e layout| to matc|
|00000a70| 68 20 74 68 65 20 73 63 | 72 65 65 6e 20 6c 61 79 |h the sc|reen lay|
|00000a80| 6f 75 74 20 61 73 20 63 | 6c 6f 73 65 6c 79 20 61 |out as c|losely a|
|00000a90| 73 20 70 6f 73 73 69 62 | 6c 65 2e 0d 54 68 65 20 |s possib|le..The |
|00000aa0| 6c 69 6e 65 20 6c 61 79 | 6f 75 74 20 70 65 72 66 |line lay|out perf|
|00000ab0| 6f 72 6d 65 64 20 62 79 | 20 70 72 69 6e 74 65 72 |ormed by| printer|
|00000ac0| 20 64 72 69 76 65 72 73 | 20 69 73 20 6c 69 6d 69 | drivers| is limi|
|00000ad0| 74 65 64 20 74 6f 20 73 | 69 6e 67 6c 65 20 6c 69 |ted to s|ingle li|
|00000ae0| 6e 65 73 20 6f 66 20 74 | 65 78 74 20 61 6e 64 20 |nes of t|ext and |
|00000af0| 64 6f 65 73 20 6e 6f 74 | 20 63 68 61 6e 67 65 20 |does not| change |
|00000b00| 6c 69 6e 65 20 62 72 65 | 61 6b 20 70 6f 73 69 74 |line bre|ak posit|
|00000b10| 69 6f 6e 73 20 77 69 74 | 68 69 6e 20 6d 75 6c 74 |ions wit|hin mult|
|00000b20| 69 70 6c 65 20 6c 69 6e | 65 73 2e 20 54 68 65 20 |iple lin|es. The |
|00000b30| 64 72 69 76 65 72 20 73 | 75 70 70 6c 69 65 73 20 |driver s|upplies |
|00000b40| 6d 65 74 72 69 63 20 69 | 6e 66 6f 72 6d 61 74 69 |metric i|nformati|
|00000b50| 6f 6e 20 74 6f 20 74 68 | 65 20 61 70 70 6c 69 63 |on to th|e applic|
|00000b60| 61 74 69 6f 6e 20 61 62 | 6f 75 74 20 74 68 65 20 |ation ab|out the |
|00000b70| 70 61 67 65 20 73 69 7a | 65 20 61 6e 64 20 70 72 |page siz|e and pr|
|00000b80| 69 6e 74 61 62 6c 65 20 | 61 72 65 61 20 74 6f 20 |intable |area to |
|00000b90| 61 6c 6c 6f 77 20 74 68 | 65 20 61 70 70 6c 69 63 |allow th|e applic|
|00000ba0| 61 74 69 6f 6e 20 74 6f | 20 64 65 74 65 72 6d 69 |ation to| determi|
|00000bb0| 6e 65 20 74 68 65 20 62 | 65 73 74 20 70 6c 61 63 |ne the b|est plac|
|00000bc0| 65 20 74 6f 20 6d 61 6b | 65 20 6c 69 6e 65 20 61 |e to mak|e line a|
|00000bd0| 6e 64 20 70 61 67 65 20 | 62 72 65 61 6b 73 2e 0d |nd page |breaks..|
|00000be0| 50 72 69 6e 74 65 72 20 | 64 72 69 76 65 72 20 6c |Printer |driver l|
|00000bf0| 69 6e 65 20 6c 61 79 6f | 75 74 20 64 6f 65 73 20 |ine layo|ut does |
|00000c00| 61 66 66 65 63 74 20 77 | 6f 72 64 20 73 70 61 63 |affect w|ord spac|
|00000c10| 69 6e 67 2c 20 63 68 61 | 72 61 63 74 65 72 20 73 |ing, cha|racter s|
|00000c20| 70 61 63 69 6e 67 20 61 | 6e 64 20 65 76 65 6e 20 |pacing a|nd even |
|00000c30| 77 6f 72 64 20 70 6f 73 | 69 74 69 6f 6e 69 6e 67 |word pos|itioning|
|00000c40| 20 77 69 74 68 69 6e 20 | 61 20 6c 69 6e 65 2e 20 | within |a line. |
|00000c50| 54 68 69 73 20 6d 61 79 | 20 61 66 66 65 63 74 20 |This may| affect |
|00000c60| 74 68 65 20 6f 76 65 72 | 61 6c 6c 20 61 70 70 65 |the over|all appe|
|00000c70| 61 72 61 6e 63 65 20 6f | 66 20 74 65 78 74 2c 20 |arance o|f text, |
|00000c80| 70 61 72 74 69 63 75 6c | 61 72 6c 79 20 77 68 65 |particul|arly whe|
|00000c90| 6e 20 66 6f 6e 74 20 73 | 75 62 73 74 69 74 75 74 |n font s|ubstitut|
|00000ca0| 69 6f 6e 73 20 61 72 65 | 20 6d 61 64 65 20 6f 72 |ions are| made or|
|00000cb0| 20 76 61 72 69 6f 75 73 | 20 66 6f 72 6d 73 20 6f | various| forms o|
|00000cc0| 66 20 70 61 67 65 20 6f | 72 20 74 65 78 74 20 73 |f page o|r text s|
|00000cd0| 63 61 6c 69 6e 67 20 61 | 72 65 20 69 6e 76 6f 6c |caling a|re invol|
|00000ce0| 76 65 64 2e 20 42 75 74 | 20 70 72 69 6e 74 20 64 |ved. But| print d|
|00000cf0| 72 69 76 65 72 73 20 4e | 45 56 45 52 20 63 68 61 |rivers N|EVER cha|
|00000d00| 6e 67 65 20 6c 69 6e 65 | 2c 20 70 61 72 61 67 72 |nge line|, paragr|
|00000d10| 61 70 68 20 6f 72 20 70 | 61 67 65 20 62 72 65 61 |aph or p|age brea|
|00000d20| 6b 20 70 6f 73 69 74 69 | 6f 6e 73 20 66 72 6f 6d |k positi|ons from|
|00000d30| 20 77 68 61 74 20 74 68 | 65 20 61 70 70 6c 69 63 | what th|e applic|
|00000d40| 61 74 69 6f 6e 20 6f 72 | 20 73 63 72 65 65 6e 20 |ation or| screen |
|00000d50| 73 70 65 63 69 66 69 65 | 64 2e 20 54 68 69 73 20 |specifie|d. This |
|00000d60| 6d 65 61 6e 73 20 74 68 | 61 74 20 77 68 65 72 65 |means th|at where|
|00000d70| 20 6c 69 6e 65 20 62 72 | 65 61 6b 73 20 61 70 70 | line br|eaks app|
|00000d80| 65 61 72 20 6f 6e 20 74 | 68 65 20 73 63 72 65 65 |ear on t|he scree|
|00000d90| 6e 2c 20 74 68 65 79 20 | 77 69 6c 6c 20 61 6c 77 |n, they |will alw|
|00000da0| 61 79 73 20 61 70 70 65 | 61 72 20 69 6e 20 74 68 |ays appe|ar in th|
|00000db0| 65 20 73 61 6d 65 20 70 | 6c 61 63 65 20 6f 6e 20 |e same p|lace on |
|00000dc0| 74 68 65 20 70 72 69 6e | 74 65 72 20 72 65 67 61 |the prin|ter rega|
|00000dd0| 72 64 6c 65 73 73 20 6f | 66 20 68 6f 77 20 74 68 |rdless o|f how th|
|00000de0| 65 20 6c 69 6e 65 20 6c | 61 79 6f 75 74 20 6d 61 |e line l|ayout ma|
|00000df0| 79 20 61 66 66 65 63 74 | 20 74 68 65 20 61 70 70 |y affect| the app|
|00000e00| 65 61 72 61 6e 63 65 20 | 77 69 74 68 69 6e 20 74 |earance |within t|
|00000e10| 68 65 20 6c 69 6e 65 2e | 0d 4f 70 65 72 61 74 69 |he line.|.Operati|
|00000e20| 6e 67 20 53 79 73 74 65 | 6d 20 61 6e 64 20 52 4f |ng Syste|m and RO|
|00000e30| 4d 73 0d 49 6e 20 74 68 | 69 73 20 63 6f 6e 74 65 |Ms.In th|is conte|
|00000e40| 78 74 2c 20 6f 70 65 72 | 61 74 69 6e 67 20 73 79 |xt, oper|ating sy|
|00000e50| 73 74 65 6d 20 72 65 66 | 65 72 73 20 74 6f 20 74 |stem ref|ers to t|
|00000e60| 68 65 20 52 4f 4d 20 74 | 72 61 70 20 72 6f 75 74 |he ROM t|rap rout|
|00000e70| 69 6e 65 73 20 77 68 69 | 63 68 20 68 61 6e 64 6c |ines whi|ch handl|
|00000e80| 65 20 66 6f 6e 74 73 20 | 61 6e 64 20 51 75 69 63 |e fonts |and Quic|
|00000e90| 6b 44 72 61 77 2e 20 43 | 68 61 6e 67 65 73 20 68 |kDraw. C|hanges h|
|00000ea0| 61 76 65 20 6f 63 63 75 | 72 72 65 64 20 62 65 74 |ave occu|rred bet|
|00000eb0| 77 65 65 6e 20 74 68 65 | 20 52 4f 4d 73 20 69 6e |ween the| ROMs in|
|00000ec0| 20 74 68 65 20 68 61 6e | 64 6c 69 6e 67 20 6f 66 | the han|dling of|
|00000ed0| 20 66 6f 6e 74 73 2e 20 | 46 6f 6e 74 73 20 69 6e | fonts. |Fonts in|
|00000ee0| 20 74 68 65 20 36 34 4b | 20 52 4f 4d 73 20 63 6f | the 64K| ROMs co|
|00000ef0| 6e 74 61 69 6e 20 77 69 | 64 74 68 20 74 61 62 6c |ntain wi|dth tabl|
|00000f00| 65 73 20 28 61 73 20 64 | 65 73 63 72 69 62 65 64 |es (as d|escribed|
|00000f10| 20 61 62 6f 76 65 29 20 | 77 68 69 63 68 20 61 72 | above) |which ar|
|00000f20| 65 20 6c 69 6d 69 74 65 | 64 20 74 6f 20 69 6e 74 |e limite|d to int|
|00000f30| 65 67 65 72 20 76 61 6c | 75 65 73 2e 20 53 65 76 |eger val|ues. Sev|
|00000f40| 65 72 61 6c 20 6e 65 77 | 20 74 61 62 6c 65 73 2c |eral new| tables,|
|00000f50| 20 68 6f 77 65 76 65 72 | 2c 20 68 61 76 65 20 62 | however|, have b|
|00000f60| 65 65 6e 20 61 64 64 65 | 64 20 74 6f 20 66 6f 6e |een adde|d to fon|
|00000f70| 74 73 20 66 6f 72 20 74 | 68 65 20 6e 65 77 65 72 |ts for t|he newer|
|00000f80| 20 52 4f 4d 73 2e 20 54 | 68 65 20 6e 65 77 65 72 | ROMs. T|he newer|
|00000f90| 20 52 4f 4d 73 20 61 64 | 64 20 61 6e 20 6f 70 74 | ROMs ad|d an opt|
|00000fa0| 69 6f 6e 61 6c 20 67 6c | 6f 62 61 6c 20 77 69 64 |ional gl|obal wid|
|00000fb0| 74 68 20 74 61 62 6c 65 | 20 63 6f 6e 74 61 69 6e |th table| contain|
|00000fc0| 69 6e 67 20 66 72 61 63 | 74 69 6f 6e 61 6c 20 6f |ing frac|tional o|
|00000fd0| 72 20 66 69 78 65 64 20 | 70 6f 69 6e 74 20 64 65 |r fixed |point de|
|00000fe0| 63 69 6d 61 6c 20 76 61 | 6c 75 65 73 2e 20 49 6e |cimal va|lues. In|
|00000ff0| 20 61 64 64 69 74 69 6f | 6e 2c 20 74 68 65 72 65 | additio|n, there|
|00001000| 20 69 73 20 61 6e 6f 74 | 68 65 72 20 6f 70 74 69 | is anot|her opti|
|00001010| 6f 6e 61 6c 20 74 61 62 | 6c 65 20 63 6f 6e 74 61 |onal tab|le conta|
|00001020| 69 6e 69 6e 67 20 66 72 | 61 63 74 69 6f 6e 61 6c |ining fr|actional|
|00001030| 20 76 61 6c 75 65 73 20 | 77 68 69 63 68 20 63 61 | values |which ca|
|00001040| 6e 20 62 65 20 73 63 61 | 6c 65 64 20 66 6f 72 20 |n be sca|led for |
|00001050| 74 68 65 20 65 6e 74 69 | 72 65 20 72 61 6e 67 65 |the enti|re range|
|00001060| 20 6f 66 20 70 6f 69 6e | 74 20 73 69 7a 65 73 20 | of poin|t sizes |
|00001070| 66 6f 72 20 61 6e 79 20 | 6f 6e 65 20 66 61 63 65 |for any |one face|
|00001080| 2e 20 54 68 65 72 65 20 | 69 73 20 61 6c 73 6f 20 |. There |is also |
|00001090| 61 6e 20 6f 70 74 69 6f | 6e 61 6c 20 74 61 62 6c |an optio|nal tabl|
|000010a0| 65 20 77 68 69 63 68 20 | 70 72 6f 76 69 64 65 73 |e which |provides|
|000010b0| 20 66 6f 72 20 74 68 65 | 20 61 64 64 69 74 69 6f | for the| additio|
|000010c0| 6e 20 28 6f 72 20 72 65 | 6d 6f 76 61 6c 29 20 6f |n (or re|moval) o|
|000010d0| 66 20 77 69 64 74 68 20 | 74 6f 20 61 20 66 6f 6e |f width |to a fon|
|000010e0| 74 20 77 68 65 6e 20 69 | 74 73 20 73 74 79 6c 65 |t when i|ts style|
|000010f0| 20 69 73 20 63 68 61 6e | 67 65 64 20 74 6f 20 61 | is chan|ged to a|
|00001100| 6e 6f 74 68 65 72 20 76 | 61 6c 75 65 20 73 75 63 |nother v|alue suc|
|00001110| 68 20 61 73 20 62 6f 6c | 64 2c 20 6f 75 74 6c 69 |h as bol|d, outli|
|00001120| 6e 65 20 6f 72 20 63 6f | 6e 64 65 6e 73 65 64 2e |ne or co|ndensed.|
|00001130| 20 49 74 20 69 73 20 61 | 6c 73 6f 20 70 6f 73 73 | It is a|lso poss|
|00001140| 69 62 6c 65 2c 20 75 6e | 64 65 72 20 74 68 65 20 |ible, un|der the |
|00001150| 31 32 38 4b 20 52 4f 4d | 73 2c 20 74 6f 20 61 64 |128K ROM|s, to ad|
|00001160| 64 20 66 6f 6e 74 73 20 | 74 6f 20 74 68 65 20 73 |d fonts |to the s|
|00001170| 79 73 74 65 6d 20 77 69 | 74 68 20 69 6e 68 65 72 |ystem wi|th inher|
|00001180| 65 6e 74 20 73 74 79 6c | 65 20 70 72 6f 70 65 72 |ent styl|e proper|
|00001190| 74 69 65 73 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |ties con|taining |
|000011a0| 74 68 65 69 72 20 6f 77 | 6e 20 77 69 64 74 68 20 |their ow|n width |
|000011b0| 74 61 62 6c 65 73 20 74 | 68 61 74 20 70 72 6f 64 |tables t|hat prod|
|000011c0| 75 63 65 20 64 69 66 66 | 65 72 65 6e 74 20 63 68 |uce diff|erent ch|
|000011d0| 61 72 61 63 74 65 72 20 | 77 69 64 74 68 73 20 66 |aracter |widths f|
|000011e0| 72 6f 6d 20 64 65 72 69 | 76 65 64 20 73 74 79 6c |rom deri|ved styl|
|000011f0| 65 20 77 69 64 74 68 73 | 2e 0d 4f 6e 65 20 6f 72 |e widths|..One or|
|00001200| 20 61 6c 6c 20 6f 66 20 | 74 68 65 20 61 62 6f 76 | all of |the abov|
|00001210| 65 20 74 61 62 6c 65 73 | 20 6d 61 79 20 6f 72 20 |e tables| may or |
|00001220| 6d 61 79 20 6e 6f 74 20 | 62 65 20 69 6e 76 6f 6b |may not |be invok|
|00001230| 65 64 20 64 65 70 65 6e | 64 69 6e 67 20 6f 6e 2c |ed depen|ding on,|
|00001240| 20 66 69 72 73 74 2c 20 | 74 68 65 69 72 20 70 72 | first, |their pr|
|00001250| 65 73 65 6e 63 65 2c 20 | 61 6e 64 20 73 65 63 6f |esence, |and seco|
|00001260| 6e 64 2c 20 74 68 65 20 | 6d 6f 64 65 20 6f 66 20 |nd, the |mode of |
|00001270| 74 68 65 20 6f 70 65 72 | 61 74 69 6e 67 20 73 79 |the oper|ating sy|
|00001280| 73 74 65 6d 2e 20 54 68 | 65 20 46 6f 6e 74 20 4d |stem. Th|e Font M|
|00001290| 61 6e 61 67 65 72 20 69 | 6e 20 74 68 65 20 6e 65 |anager i|n the ne|
|000012a0| 77 65 72 20 52 4f 4d 73 | 20 61 6c 6c 6f 77 73 20 |wer ROMs| allows |
|000012b0| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |the appl|ication |
|000012c0| 74 6f 20 61 72 62 69 74 | 72 61 72 69 6c 79 20 6f |to arbit|rarily o|
|000012d0| 70 65 72 61 74 65 20 69 | 6e 20 65 69 74 68 65 72 |perate i|n either|
|000012e0| 20 74 68 65 20 66 72 61 | 63 74 69 6f 6e 61 6c 20 | the fra|ctional |
|000012f0| 6d 6f 64 65 20 6f 72 20 | 69 6e 74 65 67 65 72 20 |mode or |integer |
|00001300| 6d 6f 64 65 20 28 64 65 | 74 65 72 6d 69 6e 65 64 |mode (de|termined|
|00001310| 2c 20 69 6e 20 6d 6f 73 | 74 20 63 61 73 65 73 2c |, in mos|t cases,|
|00001320| 20 62 79 20 74 68 65 20 | 73 65 74 74 69 6e 67 20 | by the |setting |
|00001330| 6f 66 20 46 72 61 63 74 | 45 6e 61 62 6c 65 29 20 |of Fract|Enable) |
|00001340| 61 73 20 69 74 20 63 68 | 6f 6f 73 65 73 2c 20 77 |as it ch|ooses, w|
|00001350| 69 74 68 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 |ith the |default |
|00001360| 62 65 69 6e 67 20 69 6e | 74 65 67 65 72 2e 20 54 |being in|teger. T|
|00001370| 68 65 72 65 20 69 73 20 | 6f 6e 65 20 63 61 73 65 |here is |one case|
|00001380| 20 77 68 65 72 65 20 66 | 72 61 63 74 69 6f 6e 61 | where f|ractiona|
|00001390| 6c 20 77 69 64 74 68 73 | 20 77 69 6c 6c 20 62 65 |l widths| will be|
|000013a0| 20 75 73 65 64 20 69 66 | 20 74 68 65 79 20 65 78 | used if| they ex|
|000013b0| 69 73 74 20 65 76 65 6e | 20 74 68 6f 75 67 68 20 |ist even| though |
|000013c0| 66 72 61 63 74 69 6f 6e | 61 6c 20 6d 6f 64 65 20 |fraction|al mode |
|000013d0| 69 73 20 64 69 73 61 62 | 6c 65 64 2e 20 57 68 65 |is disab|led. Whe|
|000013e0| 6e 20 46 53 63 61 6c 65 | 44 69 73 61 62 6c 65 20 |n FScale|Disable |
|000013f0| 69 73 20 75 73 65 64 20 | 66 72 61 63 74 69 6f 6e |is used |fraction|
|00001400| 61 6c 20 77 69 64 74 68 | 73 20 61 72 65 20 61 6c |al width|s are al|
|00001410| 77 61 79 73 20 75 73 65 | 64 20 69 66 20 74 68 65 |ways use|d if the|
|00001420| 79 20 65 78 69 73 74 20 | 72 65 67 61 72 64 6c 65 |y exist |regardle|
|00001430| 73 73 20 6f 66 20 74 68 | 65 20 73 65 74 74 69 6e |ss of th|e settin|
|00001440| 67 20 6f 66 20 46 72 61 | 63 74 45 6e 61 62 6c 65 |g of Fra|ctEnable|
|00001450| 2e 0d 44 69 66 66 65 72 | 65 6e 63 65 73 20 69 6e |..Differ|ences in|
|00001460| 20 6c 69 6e 65 20 6c 61 | 79 6f 75 74 20 28 61 6e | line la|yout (an|
|00001470| 64 20 74 68 75 73 20 6c | 69 6e 65 20 62 72 65 61 |d thus l|ine brea|
|00001480| 6b 73 29 20 6d 61 79 20 | 62 65 20 61 66 66 65 63 |ks) may |be affec|
|00001490| 74 65 64 20 62 79 20 61 | 6e 79 20 63 6f 6d 62 69 |ted by a|ny combi|
|000014a0| 6e 61 74 69 6f 6e 20 6f | 66 20 74 68 65 20 70 72 |nation o|f the pr|
|000014b0| 65 73 65 6e 63 65 20 6f | 72 20 61 62 73 65 6e 63 |esence o|r absenc|
|000014c0| 65 20 6f 66 20 74 68 65 | 20 6f 70 74 69 6f 6e 61 |e of the| optiona|
|000014d0| 6c 20 74 61 62 6c 65 73 | 2c 20 61 6e 64 20 74 68 |l tables|, and th|
|000014e0| 65 20 6f 70 65 72 61 74 | 69 6e 67 20 6d 6f 64 65 |e operat|ing mode|
|000014f0| 2c 20 65 69 74 68 65 72 | 20 66 72 61 63 74 69 6f |, either| fractio|
|00001500| 6e 61 6c 20 6f 72 20 69 | 6e 74 65 67 65 72 2c 20 |nal or i|nteger, |
|00001510| 6f 66 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |of the a|pplicati|
|00001520| 6f 6e 2e 20 41 6e 79 20 | 6f 66 20 74 68 65 20 63 |on. Any |of the c|
|00001530| 6f 6d 62 69 6e 61 74 69 | 6f 6e 73 20 63 61 6e 20 |ombinati|ons can |
|00001540| 70 72 6f 64 75 63 65 20 | 64 69 66 66 65 72 65 6e |produce |differen|
|00001550| 74 20 72 65 73 75 6c 74 | 73 20 66 72 6f 6d 20 74 |t result|s from t|
|00001560| 68 65 20 6f 72 69 67 69 | 6e 61 6c 20 52 4f 4d 73 |he origi|nal ROMs|
|00001570| 20 28 61 6e 64 20 66 72 | 6f 6d 20 65 61 63 68 20 | (and fr|om each |
|00001580| 6f 74 68 65 72 29 2e 0d | 54 68 65 20 69 6e 74 65 |other)..|The inte|
|00001590| 67 65 72 20 6d 6f 64 65 | 20 6f 6e 20 74 68 65 20 |ger mode| on the |
|000015a0| 6e 65 77 65 72 20 52 4f | 4d 73 20 69 73 20 76 65 |newer RO|Ms is ve|
|000015b0| 72 79 20 73 69 6d 69 6c | 61 72 20 74 6f 2c 20 62 |ry simil|ar to, b|
|000015c0| 75 74 20 6e 6f 74 20 65 | 78 61 63 74 6c 79 20 74 |ut not e|xactly t|
|000015d0| 68 65 20 73 61 6d 65 20 | 61 73 2c 20 74 68 65 20 |he same |as, the |
|000015e0| 6f 72 69 67 69 6e 61 6c | 20 36 34 4b 20 52 4f 4d |original| 64K ROM|
|000015f0| 73 2e 20 57 68 65 6e 20 | 66 6f 6e 74 73 20 77 69 |s. When |fonts wi|
|00001600| 74 68 20 74 68 65 20 6f | 70 74 69 6f 6e 61 6c 20 |th the o|ptional |
|00001610| 74 61 62 6c 65 73 20 70 | 72 65 73 65 6e 74 20 61 |tables p|resent a|
|00001620| 72 65 20 75 73 65 64 20 | 6f 6e 20 4d 61 63 69 6e |re used |on Macin|
|00001630| 74 6f 73 68 65 73 20 77 | 69 74 68 20 36 34 4b 20 |toshes w|ith 64K |
|00001640| 52 4f 4d 73 2c 20 74 68 | 65 79 20 63 6f 6e 74 69 |ROMs, th|ey conti|
|00001650| 6e 75 65 20 74 6f 20 77 | 6f 72 6b 20 69 6e 20 74 |nue to w|ork in t|
|00001660| 68 65 20 6f 6c 64 20 77 | 61 79 20 77 69 74 68 20 |he old w|ay with |
|00001670| 74 68 65 20 69 6e 74 65 | 67 65 72 20 77 69 64 74 |the inte|ger widt|
|00001680| 68 73 2e 20 48 6f 77 65 | 76 65 72 2c 20 6f 6e 20 |hs. Howe|ver, on |
|00001690| 6e 65 77 65 72 20 52 4f | 4d 73 2c 20 65 76 65 6e |newer RO|Ms, even|
|000016a0| 20 69 6e 20 74 68 65 20 | 69 6e 74 65 67 65 72 20 | in the |integer |
|000016b0| 6d 6f 64 65 2c 20 74 68 | 65 72 65 20 6d 61 79 20 |mode, th|ere may |
|000016c0| 62 65 20 76 61 72 69 61 | 74 69 6f 6e 73 20 69 6e |be varia|tions in|
|000016d0| 20 6c 69 6e 65 20 77 69 | 64 74 68 20 66 72 6f 6d | line wi|dth from|
|000016e0| 20 77 68 61 74 20 69 73 | 20 73 65 65 6e 20 6f 6e | what is| seen on|
|000016f0| 20 74 68 65 20 6f 6c 64 | 20 52 4f 4d 73 2e 20 49 | the old| ROMs. I|
|00001700| 6e 20 74 68 65 20 70 6c | 61 69 6e 20 74 65 78 74 |n the pl|ain text|
|00001710| 20 73 74 79 6c 65 20 74 | 68 65 72 65 20 69 73 20 | style t|here is |
|00001720| 76 65 72 79 20 6c 69 74 | 74 6c 65 20 69 66 20 61 |very lit|tle if a|
|00001730| 6e 79 20 64 69 66 66 65 | 72 65 6e 63 65 20 28 65 |ny diffe|rence (e|
|00001740| 78 63 65 70 74 20 69 66 | 20 74 68 65 20 67 6c 6f |xcept if| the glo|
|00001750| 62 61 6c 20 77 69 64 74 | 68 20 74 61 62 6c 65 20 |bal widt|h table |
|00001760| 69 73 20 70 72 65 73 65 | 6e 74 29 2c 20 62 75 74 |is prese|nt), but|
|00001770| 20 61 73 20 76 61 72 69 | 6f 75 73 20 74 79 70 65 | as vari|ous type|
|00001780| 20 73 74 79 6c 65 73 20 | 61 72 65 20 73 65 6c 65 | styles |are sele|
|00001790| 63 74 65 64 2c 20 6c 69 | 6e 65 20 77 69 64 74 68 |cted, li|ne width|
|000017a0| 73 20 6d 61 79 20 76 61 | 72 79 20 6d 6f 72 65 20 |s may va|ry more |
|000017b0| 62 65 74 77 65 65 6e 20 | 52 4f 4d 73 2e 0d 56 61 |between |ROMs..Va|
|000017c0| 72 69 61 74 69 6f 6e 73 | 20 69 6e 20 74 68 65 20 |riations| in the |
|000017d0| 61 62 6f 76 65 20 6f 70 | 74 69 6f 6e 73 2c 20 62 |above op|tions, b|
|000017e0| 79 20 66 61 72 2c 20 61 | 63 63 6f 75 6e 74 20 66 |y far, a|ccount f|
|000017f0| 6f 72 20 74 68 65 20 67 | 72 65 61 74 65 73 74 20 |or the g|reatest |
|00001800| 76 61 72 69 61 74 69 6f | 6e 20 69 6e 20 74 68 65 |variatio|n in the|
|00001810| 20 61 70 70 65 61 72 61 | 6e 63 65 20 6f 66 20 6c | appeara|nce of l|
|00001820| 69 6e 65 73 20 77 68 65 | 6e 20 61 20 64 6f 63 75 |ines whe|n a docu|
|00001830| 6d 65 6e 74 20 69 73 20 | 74 72 61 6e 73 70 6f 72 |ment is |transpor|
|00001840| 74 65 64 20 62 65 74 77 | 65 65 6e 20 6f 6e 65 20 |ted betw|een one |
|00001850| 4d 61 63 69 6e 74 6f 73 | 68 20 61 6e 64 20 61 6e |Macintos|h and an|
|00001860| 6f 74 68 65 72 2e 20 4c | 69 6e 65 20 62 72 65 61 |other. L|ine brea|
|00001870| 6b 73 20 6d 61 79 20 63 | 68 61 6e 67 65 20 70 6f |ks may c|hange po|
|00001880| 73 69 74 69 6f 6e 20 77 | 68 65 6e 20 64 6f 63 75 |sition w|hen docu|
|00001890| 6d 65 6e 74 73 20 63 72 | 65 61 74 65 64 20 6f 6e |ments cr|eated on|
|000018a0| 20 6f 6e 65 20 73 79 73 | 74 65 6d 20 28 73 61 79 | one sys|tem (say|
|000018b0| 20 61 20 4d 61 63 69 6e | 74 6f 73 68 29 20 61 72 | a Macin|tosh) ar|
|000018c0| 65 20 6d 6f 76 65 64 20 | 74 6f 20 61 6e 6f 74 68 |e moved |to anoth|
|000018d0| 65 72 20 73 79 73 74 65 | 6d 20 28 6c 69 6b 65 20 |er syste|m (like |
|000018e0| 61 20 4d 61 63 69 6e 74 | 6f 73 68 20 50 6c 75 73 |a Macint|osh Plus|
|000018f0| 29 2e 20 56 61 72 69 61 | 74 69 6f 6e 73 20 61 72 |). Varia|tions ar|
|00001900| 65 20 6d 6f 72 65 20 70 | 72 6f 6e 6f 75 6e 63 65 |e more p|ronounce|
|00001910| 64 20 61 73 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |d as the| number |
|00001920| 61 6e 64 20 73 69 7a 65 | 73 20 6f 66 20 76 61 72 |and size|s of var|
|00001930| 69 6f 75 73 20 74 79 70 | 65 20 73 74 79 6c 65 73 |ious typ|e styles|
|00001940| 20 69 6e 63 72 65 61 73 | 65 20 77 69 74 68 69 6e | increas|e within|
|00001950| 20 61 20 64 6f 63 75 6d | 65 6e 74 2e 0d 49 6e 20 | a docum|ent..In |
|00001960| 61 6c 6c 20 63 61 73 65 | 73 2c 20 68 6f 77 65 76 |all case|s, howev|
|00001970| 65 72 2c 20 61 20 70 72 | 69 6e 74 65 72 20 64 72 |er, a pr|inter dr|
|00001980| 69 76 65 72 20 77 69 6c | 6c 20 70 72 6f 64 75 63 |iver wil|l produc|
|00001990| 65 20 65 78 61 63 74 6c | 79 20 74 68 65 20 73 61 |e exactl|y the sa|
|000019a0| 6d 65 20 6c 69 6e 65 20 | 62 72 65 61 6b 73 20 61 |me line |breaks a|
|000019b0| 73 20 61 70 70 65 61 72 | 20 6f 6e 20 74 68 65 20 |s appear| on the |
|000019c0| 73 63 72 65 65 6e 20 77 | 69 74 68 20 61 6e 79 20 |screen w|ith any |
|000019d0| 67 69 76 65 6e 20 73 79 | 73 74 65 6d 20 63 6f 6d |given sy|stem com|
|000019e0| 62 69 6e 61 74 69 6f 6e | 2e 0d 46 75 72 74 68 65 |bination|..Furthe|
|000019f0| 72 20 52 65 66 65 72 65 | 6e 63 65 3a 0d a5 09 54 |r Refere|nce:...T|
|00001a00| 68 65 20 50 72 69 6e 74 | 69 6e 67 20 4d 61 6e 61 |he Print|ing Mana|
|00001a10| 67 65 72 0d a5 09 54 68 | 65 20 46 6f 6e 74 20 4d |ger...Th|e Font M|
|00001a20| 61 6e 61 67 65 72 0d a5 | 09 4d 2e 49 4d 2e 4c 61 |anager..|.M.IM.La|
|00001a30| 73 65 72 57 72 69 74 65 | 72 4f 70 74 0d 53 63 72 |serWrite|rOpt.Scr|
|00001a40| 69 70 74 20 4d 61 6e 61 | 67 65 72 20 32 2e 30 20 |ipt Mana|ger 2.0 |
|00001a50| 44 61 74 65 20 26 20 54 | 69 6d 65 20 50 72 6f 62 |Date & T|ime Prob|
|00001a60| 6c 65 6d 73 0d 54 65 78 | 74 09 09 4d 2e 54 45 2e |lems.Tex|t..M.TE.|
|00001a70| 53 63 72 69 70 74 44 61 | 74 65 54 69 6d 65 0d 57 |ScriptDa|teTime.W|
|00001a80| 72 69 74 74 65 6e 20 62 | 79 3a 09 4a 6f 68 6e 20 |ritten b|y:.John |
|00001a90| 48 61 72 76 65 79 09 46 | 65 62 72 75 61 72 79 20 |Harvey.F|ebruary |
|00001aa0| 31 39 39 30 0d 54 68 69 | 73 20 54 65 63 68 6e 69 |1990.Thi|s Techni|
|00001ab0| 63 61 6c 20 4e 6f 74 65 | 20 64 65 73 63 72 69 62 |cal Note| describ|
|00001ac0| 65 73 20 6b 6e 6f 77 6e | 20 62 75 67 73 20 61 6e |es known| bugs an|
|00001ad0| 64 20 66 65 61 74 75 72 | 65 73 20 69 6e 20 61 6e |d featur|es in an|
|00001ae0| 64 20 73 6f 6c 75 74 69 | 6f 6e 73 20 74 6f 20 74 |d soluti|ons to t|
|00001af0| 68 65 20 64 61 74 65 20 | 61 6e 64 20 74 69 6d 65 |he date |and time|
|00001b00| 20 72 6f 75 74 69 6e 65 | 73 20 69 6e 74 72 6f 64 | routine|s introd|
|00001b10| 75 63 65 64 20 69 6e 20 | 53 63 72 69 70 74 20 4d |uced in |Script M|
|00001b20| 61 6e 61 67 65 72 20 32 | 2e 30 2e 0d 46 72 6f 6d |anager 2|.0..From|
|00001b30| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 2c 20 | the beg|inning, |
|00001b40| 74 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 d5 73 20 |the Maci|ntosh.s |
|00001b50| 61 62 69 6c 69 74 79 20 | 74 6f 20 68 61 6e 64 6c |ability |to handl|
|00001b60| 65 20 64 61 74 65 73 20 | 77 61 73 20 6c 69 6d 69 |e dates |was limi|
|00001b70| 74 65 64 20 74 6f 20 61 | 20 72 61 74 68 65 72 20 |ted to a| rather |
|00001b80| 73 6d 61 6c 6c 20 72 61 | 6e 67 65 d1 73 6c 69 67 |small ra|nge.slig|
|00001b90| 68 74 6c 79 20 6d 6f 72 | 65 20 74 68 61 6e 20 61 |htly mor|e than a|
|00001ba0| 20 63 65 6e 74 75 72 79 | 2e 20 20 45 6e 68 61 6e | century|. Enhan|
|00001bb0| 63 65 6d 65 6e 74 73 20 | 74 6f 20 74 68 65 20 53 |cements |to the S|
|00001bc0| 63 72 69 70 74 20 4d 61 | 6e 61 67 65 72 2c 20 69 |cript Ma|nager, i|
|00001bd0| 6e 74 72 6f 64 75 63 65 | 64 20 77 69 74 68 20 53 |ntroduce|d with S|
|00001be0| 79 73 74 65 6d 20 53 6f | 66 74 77 61 72 65 20 36 |ystem So|ftware 6|
|00001bf0| 2e 30 2c 20 65 78 74 65 | 6e 64 65 64 20 74 68 69 |.0, exte|nded thi|
|00001c00| 73 20 72 61 6e 67 65 20 | 74 6f 20 b1 33 35 2c 30 |s range |to .35,0|
|00001c10| 30 30 20 79 65 61 72 73 | 2e 20 20 55 6e 66 6f 72 |00 years|. Unfor|
|00001c20| 74 75 6e 61 74 65 6c 79 | 2c 20 74 68 65 72 65 20 |tunately|, there |
|00001c30| 69 73 20 61 20 6d 69 6e | 6f 72 20 62 75 67 20 69 |is a min|or bug i|
|00001c40| 6e 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 63 72 75 |n one of| the cru|
|00001c50| 63 69 61 6c 20 63 61 6c | 6c 73 20 61 6e 64 20 61 |cial cal|ls and a|
|00001c60| 20 d2 66 65 61 74 75 72 | 65 d3 20 74 68 61 74 20 | .featur|e. that |
|00001c70| 6c 6f 6f 6b 73 20 6c 69 | 6b 65 20 61 20 62 75 67 |looks li|ke a bug|
|00001c80| 20 69 6e 20 61 6e 6f 74 | 68 65 72 2e 0d 59 6f 75 | in anot|her..You|
|00001c90| 20 53 61 69 64 20 49 74 | 20 57 6f 75 6c 64 20 42 | Said It| Would B|
|00001ca0| 65 20 41 20 4c 6f 6e 67 | 20 54 69 6d 65 0d 5f 4c |e A Long| Time._L|
|00001cb0| 6f 6e 67 53 65 63 73 32 | 44 61 74 65 2c 20 74 68 |ongSecs2|Date, th|
|00001cc0| 65 20 72 6f 75 74 69 6e | 65 20 74 68 61 74 20 74 |e routin|e that t|
|00001cd0| 72 61 6e 73 6c 61 74 65 | 73 20 61 20 4c 6f 6e 67 |ranslate|s a Long|
|00001ce0| 44 61 74 65 54 69 6d 65 | 20 74 6f 20 61 20 4c 6f |DateTime| to a Lo|
|00001cf0| 6e 67 44 61 74 65 52 65 | 63 2c 20 68 61 73 20 61 |ngDateRe|c, has a|
|00001d00| 20 62 75 67 20 63 61 75 | 73 65 64 20 62 79 20 75 | bug cau|sed by u|
|00001d10| 73 69 6e 67 20 61 20 76 | 61 72 69 61 62 6c 65 20 |sing a v|ariable |
|00001d20| 74 68 61 74 20 68 61 73 | 20 6e 6f 74 20 62 65 65 |that has| not bee|
|00001d30| 6e 20 70 72 6f 70 65 72 | 6c 79 20 69 6e 69 74 69 |n proper|ly initi|
|00001d40| 61 6c 69 7a 65 64 2e 20 | 20 54 68 69 73 20 62 75 |alized. | This bu|
|00001d50| 67 20 72 65 61 72 73 20 | 69 74 73 20 75 67 6c 79 |g rears |its ugly|
|00001d60| 20 68 65 61 64 20 77 68 | 65 6e 20 6e 65 67 61 74 | head wh|en negat|
|00001d70| 69 76 65 20 76 61 6c 75 | 65 73 20 61 72 65 20 70 |ive valu|es are p|
|00001d80| 61 73 73 65 64 20 74 6f | 20 74 68 65 20 72 6f 75 |assed to| the rou|
|00001d90| 74 69 6e 65 2e 20 20 53 | 79 73 74 65 6d 20 53 6f |tine. S|ystem So|
|00001da0| 66 74 77 61 72 65 20 36 | 2e 30 2e 34 20 61 6e 64 |ftware 6|.0.4 and|
|00001db0| 20 6c 61 74 65 72 20 66 | 69 78 20 74 68 69 73 20 | later f|ix this |
|00001dc0| 62 75 67 2c 20 61 6e 64 | 20 74 68 65 72 65 20 69 |bug, and| there i|
|00001dd0| 73 20 61 20 73 69 6d 70 | 6c 65 20 73 6f 6c 75 74 |s a simp|le solut|
|00001de0| 69 6f 6e 20 66 6f 72 20 | 65 61 72 6c 69 65 72 20 |ion for |earlier |
|00001df0| 73 79 73 74 65 6d 73 2e | 0d 49 66 20 75 73 69 6e |systems.|.If usin|
|00001e00| 67 20 53 79 73 74 65 6d | 20 53 6f 66 74 77 61 72 |g System| Softwar|
|00001e10| 65 20 36 2e 30 2e 33 20 | 61 6e 64 20 65 61 72 6c |e 6.0.3 |and earl|
|00001e20| 69 65 72 2c 20 69 66 20 | 79 6f 75 20 63 61 6c 6c |ier, if |you call|
|00001e30| 20 5f 4c 6f 6e 67 53 65 | 63 73 32 44 61 74 65 20 | _LongSe|cs2Date |
|00001e40| 6f 6e 63 65 20 62 65 66 | 6f 72 65 20 79 6f 75 20 |once bef|ore you |
|00001e50| 72 65 61 6c 6c 79 20 77 | 61 6e 74 20 74 6f 20 75 |really w|ant to u|
|00001e60| 73 65 20 69 74 2c 20 74 | 68 65 20 76 61 72 69 61 |se it, t|he varia|
|00001e70| 62 6c 65 20 69 73 20 63 | 6c 65 61 72 65 64 2e 20 |ble is c|leared. |
|00001e80| 20 41 66 74 65 72 20 74 | 68 65 20 69 6e 69 74 69 | After t|he initi|
|00001e90| 61 6c 20 63 61 6c 6c 2c | 20 5f 4c 6f 6e 67 53 65 |al call,| _LongSe|
|00001ea0| 63 73 32 44 61 74 65 20 | 77 6f 72 6b 73 20 63 6f |cs2Date |works co|
|00001eb0| 72 72 65 63 74 6c 79 2e | 0d 46 6f 72 20 65 78 61 |rrectly.|.For exa|
|00001ec0| 6d 70 6c 65 3a 0d 4d 50 | 57 20 50 61 73 63 61 6c |mple:.MP|W Pascal|
|00001ed0| 0d 50 52 4f 43 45 44 55 | 52 45 20 44 6f 44 61 74 |.PROCEDU|RE DoDat|
|00001ee0| 65 53 74 75 66 66 3b 0d | 56 41 52 0d 20 20 6c 73 |eStuff;.|VAR. ls|
|00001ef0| 65 63 73 3a 20 4c 6f 6e | 67 44 61 74 65 54 69 6d |ecs: Lon|gDateTim|
|00001f00| 65 3b 0d 20 20 6c 64 72 | 3a 20 20 20 4c 6f 6e 67 |e;. ldr|: Long|
|00001f10| 44 61 74 65 52 65 63 3b | 0d 42 45 47 49 4e 0d 20 |DateRec;|.BEGIN. |
|00001f20| 20 49 6e 69 74 44 61 74 | 65 43 61 63 68 65 28 64 | InitDat|eCache(d|
|00001f30| 63 72 29 3b 0d 20 20 6c | 73 65 63 73 20 3a 3d 20 |cr);. l|secs := |
|00001f40| 30 3b 0d 20 20 4c 6f 6e | 67 53 65 63 73 32 44 61 |0;. Lon|gSecs2Da|
|00001f50| 74 65 28 6c 73 65 63 73 | 2c 6c 64 72 29 3b 0d 20 |te(lsecs|,ldr);. |
|00001f60| 20 7b 6e 6f 77 20 79 6f | 75 20 63 61 6e 20 63 61 | {now yo|u can ca|
|00001f70| 6c 6c 20 4c 6f 6e 67 53 | 65 63 73 32 44 61 74 65 |ll LongS|ecs2Date|
|00001f80| 20 66 6f 72 20 72 65 61 | 6c 7d 0d 45 4e 44 3b 0d | for rea|l}.END;.|
|00001f90| 4d 50 57 20 43 0d 76 6f | 69 64 20 44 6f 44 61 74 |MPW C.vo|id DoDat|
|00001fa0| 65 53 74 75 66 66 28 29 | 0d 7b 0d 20 20 4c 6f 6e |eStuff()|.{. Lon|
|00001fb0| 67 44 61 74 65 54 69 6d | 65 20 6c 73 65 63 73 3b |gDateTim|e lsecs;|
|00001fc0| 0d 20 20 4c 6f 6e 67 44 | 61 74 65 52 65 63 20 20 |. LongD|ateRec |
|00001fd0| 6c 64 72 3b 0d 2f 2a 20 | 77 6f 72 6b 20 61 72 6f |ldr;./* |work aro|
|00001fe0| 75 6e 64 20 74 68 65 20 | 62 75 67 20 2a 2f 0d 20 |und the |bug */. |
|00001ff0| 20 6c 73 65 63 73 20 3d | 20 30 3b 0d 20 20 4c 6f | lsecs =| 0;. Lo|
|00002000| 6e 67 53 65 63 73 32 44 | 61 74 65 28 26 6c 73 65 |ngSecs2D|ate(&lse|
|00002010| 63 73 2c 26 6c 64 72 29 | 3b 0d 2f 2a 20 6e 6f 77 |cs,&ldr)|;./* now|
|00002020| 20 63 61 6c 6c 20 4c 6f | 6e 67 53 65 63 73 32 44 | call Lo|ngSecs2D|
|00002030| 61 74 65 20 66 6f 72 20 | 72 65 61 6c 20 2a 2f 0d |ate for |real */.|
|00002040| 7d 0d 41 6e 79 20 53 74 | 72 69 6e 67 20 54 6f 20 |}.Any St|ring To |
|00002050| 44 61 74 65 0d 54 68 65 | 20 72 6f 75 74 69 6e 65 |Date.The| routine|
|00002060| 20 5f 53 74 72 69 6e 67 | 32 44 61 74 65 20 77 61 | _String|2Date wa|
|00002070| 73 20 6f 72 69 67 69 6e | 61 6c 6c 79 20 64 65 73 |s origin|ally des|
|00002080| 69 67 6e 65 64 20 74 6f | 20 62 65 20 61 73 20 66 |igned to| be as f|
|00002090| 6f 72 67 69 76 69 6e 67 | 20 61 73 20 70 6f 73 73 |orgiving| as poss|
|000020a0| 69 62 6c 65 2e 20 20 49 | 74 20 69 73 20 73 6f 20 |ible. I|t is so |
|000020b0| 66 6f 72 67 69 76 69 6e | 67 20 74 68 61 74 20 69 |forgivin|g that i|
|000020c0| 74 20 61 63 63 65 70 74 | 73 20 61 6e 79 20 6e 6f |t accept|s any no|
|000020d0| 6e 2d 61 6c 70 68 61 62 | 65 74 69 63 20 63 68 61 |n-alphab|etic cha|
|000020e0| 72 61 63 74 65 72 20 61 | 73 20 61 20 73 65 70 61 |racter a|s a sepa|
|000020f0| 72 61 74 6f 72 20 61 6e | 64 20 61 63 63 65 70 74 |rator an|d accept|
|00002100| 73 20 61 20 73 69 6e 67 | 6c 65 20 6e 75 6d 62 65 |s a sing|le numbe|
|00002110| 72 20 61 73 20 61 20 76 | 61 6c 69 64 20 64 61 74 |r as a v|alid dat|
|00002120| 65 2e 20 20 46 6f 72 20 | 69 6e 73 74 61 6e 63 65 |e. For |instance|
|00002130| 2c 20 69 66 20 79 6f 75 | 20 70 61 73 73 20 5f 53 |, if you| pass _S|
|00002140| 74 72 69 6e 67 32 44 61 | 74 65 20 61 20 73 74 72 |tring2Da|te a str|
|00002150| 69 6e 67 20 6c 69 6b 65 | 20 d2 3c 32 30 d3 20 69 |ing like| .<20. i|
|00002160| 74 20 67 65 6e 65 72 6f | 75 73 6c 79 20 61 73 73 |t genero|usly ass|
|00002170| 75 6d 65 73 20 74 68 61 | 74 20 74 68 65 20 6c 65 |umes tha|t the le|
|00002180| 73 73 20 74 68 61 6e 20 | 73 69 67 6e 20 28 3c 29 |ss than |sign (<)|
|00002190| 20 69 73 20 69 6e 74 65 | 6e 64 65 64 20 61 73 20 | is inte|nded as |
|000021a0| 61 20 64 69 76 69 64 65 | 72 20 61 6e 64 20 74 68 |a divide|r and th|
|000021b0| 61 74 20 d2 32 30 d3 20 | 6d 75 73 74 20 62 65 20 |at .20. |must be |
|000021c0| 69 6e 74 65 6e 64 65 64 | 20 61 73 20 61 20 64 61 |intended| as a da|
|000021d0| 79 2c 20 73 69 6e 63 65 | 20 74 68 65 72 65 20 61 |y, since| there a|
|000021e0| 72 65 20 6f 6e 6c 79 20 | 31 32 20 6d 6f 6e 74 68 |re only |12 month|
|000021f0| 73 20 69 6e 20 61 20 79 | 65 61 72 2e 20 20 49 74 |s in a y|ear. It|
|00002200| 20 72 65 74 75 72 6e 73 | 20 61 20 72 65 73 75 6c | returns| a resul|
|00002210| 74 20 6f 66 20 6e 6f 45 | 72 72 20 61 6e 64 20 61 |t of noE|rr and a|
|00002220| 20 64 61 74 65 20 77 68 | 69 63 68 20 69 73 20 74 | date wh|ich is t|
|00002230| 68 65 20 74 77 65 6e 74 | 69 65 74 68 20 6f 66 20 |he twent|ieth of |
|00002240| 74 68 65 20 63 75 72 72 | 65 6e 74 20 6d 6f 6e 74 |the curr|ent mont|
|00002250| 68 20 69 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |h in the| current|
|00002260| 20 79 65 61 72 2e 20 20 | 54 68 65 20 73 74 72 69 | year. |The stri|
|00002270| 6e 67 20 d2 3c 33 2a 33 | d3 20 70 72 6f 64 75 63 |ng .<3*3|. produc|
|00002280| 65 73 20 4d 61 72 63 68 | 20 33 20 6f 66 20 74 68 |es March| 3 of th|
|00002290| 65 20 63 75 72 72 65 6e | 74 20 79 65 61 72 2c 20 |e curren|t year, |
|000022a0| 77 68 69 6c 65 20 d2 34 | 3e 31 d3 20 70 6f 6c 69 |while .4|>1. poli|
|000022b0| 74 65 6c 79 20 67 69 76 | 65 73 20 74 68 65 20 64 |tely giv|es the d|
|000022c0| 61 74 65 20 41 70 72 69 | 6c 20 31 20 6f 66 20 74 |ate Apri|l 1 of t|
|000022d0| 68 65 20 63 75 72 72 65 | 6e 74 20 79 65 61 72 2e |he curre|nt year.|
|000022e0| 0d 54 68 69 73 20 66 6f | 72 67 69 76 65 6e 65 73 |.This fo|rgivenes|
|000022f0| 73 20 72 65 61 6c 6c 79 | 20 69 73 20 6e 6f 74 20 |s really| is not |
|00002300| 61 20 62 75 67 2c 20 62 | 75 74 20 61 20 66 65 61 |a bug, b|ut a fea|
|00002310| 74 75 72 65 2e 20 20 55 | 6e 66 6f 72 74 75 6e 61 |ture. U|nfortuna|
|00002320| 74 65 6c 79 20 69 74 20 | 69 73 6e d5 74 20 61 20 |tely it |isn.t a |
|00002330| 66 65 61 74 75 72 65 20 | 74 68 61 74 20 68 61 73 |feature |that has|
|00002340| 20 62 65 65 6e 20 67 72 | 65 61 74 6c 79 20 61 70 | been gr|eatly ap|
|00002350| 70 72 65 63 69 61 74 65 | 64 20 69 6e 20 74 68 65 |preciate|d in the|
|00002360| 20 64 65 76 65 6c 6f 70 | 65 72 20 63 6f 6d 6d 75 | develop|er commu|
|00002370| 6e 69 74 79 2e 20 20 46 | 6f 72 20 74 68 61 74 20 |nity. F|or that |
|00002380| 72 65 61 73 6f 6e 2c 20 | 74 68 65 20 72 75 6c 65 |reason, |the rule|
|00002390| 73 20 66 6f 72 20 64 61 | 74 65 20 61 6e 64 20 74 |s for da|te and t|
|000023a0| 69 6d 65 20 64 69 76 69 | 64 65 72 73 20 61 72 65 |ime divi|ders are|
|000023b0| 20 74 69 67 68 74 65 72 | 20 69 6e 20 53 79 73 74 | tighter| in Syst|
|000023c0| 65 6d 20 37 2e 30 2e 20 | 20 43 75 72 72 65 6e 74 |em 7.0. | Current|
|000023d0| 20 74 68 69 6e 6b 69 6e | 67 20 69 73 20 74 68 61 | thinkin|g is tha|
|000023e0| 74 20 61 6c 6c 20 6c 69 | 73 74 20 73 65 70 61 72 |t all li|st separ|
|000023f0| 61 74 6f 72 73 20 6e 6f | 77 20 75 73 65 64 20 69 |ators no|w used i|
|00002400| 6e 20 27 69 74 6c 30 27 | 20 72 65 73 6f 75 72 63 |n 'itl0'| resourc|
|00002410| 65 73 20 77 69 6c 6c 20 | 62 65 20 61 6c 6c 6f 77 |es will |be allow|
|00002420| 65 64 20 77 69 74 68 20 | 61 20 66 65 77 20 63 6f |ed with |a few co|
|00002430| 6d 6d 6f 6e 20 64 61 74 | 65 20 73 65 70 61 72 61 |mmon dat|e separa|
|00002440| 74 6f 72 73 20 75 73 65 | 64 20 69 6e 20 74 68 65 |tors use|d in the|
|00002450| 20 55 2e 53 2e 20 28 65 | 2e 67 2e 2c 20 63 6f 6c | U.S. (e|.g., col|
|00002460| 6f 6e 20 28 3a 29 20 61 | 6e 64 20 68 79 70 68 65 |on (:) a|nd hyphe|
|00002470| 6e 20 28 2d 29 29 2e 20 | 20 46 6f 72 20 6e 6f 77 |n (-)). | For now|
|00002480| 2c 20 69 74 20 69 73 20 | 69 6d 70 6f 72 74 61 6e |, it is |importan|
|00002490| 74 20 74 6f 20 62 65 20 | 61 77 61 72 65 20 6f 66 |t to be |aware of|
|000024a0| 2c 20 73 68 61 6c 6c 20 | 77 65 20 73 61 79 2c 20 |, shall |we say, |
|000024b0| 74 68 65 20 66 6c 65 78 | 69 62 69 6c 69 74 79 20 |the flex|ibility |
|000024c0| 6f 66 20 5f 53 74 72 69 | 6e 67 32 44 61 74 65 20 |of _Stri|ng2Date |
|000024d0| 61 6e 64 20 61 76 6f 69 | 64 20 74 68 69 6e 6b 69 |and avoi|d thinki|
|000024e0| 6e 67 20 6f 66 20 69 74 | 20 61 73 20 61 6e 20 69 |ng of it| as an i|
|000024f0| 6e 74 65 6c 6c 69 67 65 | 6e 74 20 64 61 74 65 20 |ntellige|nt date |
|00002500| 70 61 72 73 65 72 2e 20 | 20 49 66 20 79 6f 75 20 |parser. | If you |
|00002510| 77 61 6e 74 20 74 6f 20 | 70 61 72 73 65 20 73 6f |want to |parse so|
|00002520| 6d 65 74 68 69 6e 67 2c | 20 79 6f 75 20 63 61 6e |mething,| you can|
|00002530| 20 75 73 65 20 5f 49 6e | 74 6c 54 6f 6b 65 6e 69 | use _In|tlTokeni|
|00002540| 7a 65 2e 0d 46 75 72 74 | 68 65 72 20 52 65 66 65 |ze..Furt|her Refe|
|00002550| 72 65 6e 63 65 3a 0d a5 | 09 49 6e 73 69 64 65 20 |rence:..|.Inside |
|00002560| 4d 61 63 69 6e 74 6f 73 | 68 2c 20 56 6f 6c 75 6d |Macintos|h, Volum|
|00002570| 65 20 56 2c 20 54 68 65 | 20 53 63 72 69 70 74 20 |e V, The| Script |
|00002580| 4d 61 6e 61 67 65 72 0d | a5 09 54 68 65 20 53 63 |Manager.|..The Sc|
|00002590| 72 69 70 74 20 4d 61 6e | 61 67 65 72 20 32 2e 30 |ript Man|ager 2.0|
|000025a0| 2c 20 49 6e 74 65 72 69 | 6d 20 43 68 61 70 74 65 |, Interi|m Chapte|
|000025b0| 72 20 28 44 54 53 29 0d | 44 72 61 77 69 6e 67 20 |r (DTS).|Drawing |
|000025c0| 43 68 61 72 61 63 74 65 | 72 73 20 69 6e 74 6f 20 |Characte|rs into |
|000025d0| 61 20 4e 61 72 72 6f 77 | 20 47 72 61 66 50 6f 72 |a Narrow| GrafPor|
|000025e0| 74 0d 54 65 78 74 09 09 | 4d 2e 54 45 2e 54 65 78 |t.Text..|M.TE.Tex|
|000025f0| 74 49 6e 4e 61 72 72 6f | 77 47 50 0d 52 65 76 69 |tInNarro|wGP.Revi|
|00002600| 73 65 64 20 62 79 3a 09 | 09 4d 61 72 63 68 20 31 |sed by:.|.March 1|
|00002610| 39 38 38 0d 57 72 69 74 | 74 65 6e 20 62 79 3a 09 |988.Writ|ten by:.|
|00002620| 47 69 6e 67 65 72 20 4a | 65 72 6e 69 67 61 6e 09 |Ginger J|ernigan.|
|00002630| 4a 61 6e 75 61 72 79 20 | 31 39 38 36 0d 57 68 65 |January |1986.Whe|
|00002640| 6e 20 79 6f 75 20 64 72 | 61 77 20 61 20 63 68 61 |n you dr|aw a cha|
|00002650| 72 61 63 74 65 72 20 69 | 6e 74 6f 20 61 20 47 72 |racter i|nto a Gr|
|00002660| 61 66 50 6f 72 74 2c 20 | 79 6f 75 72 20 70 72 6f |afPort, |your pro|
|00002670| 67 72 61 6d 20 77 69 6c | 6c 20 64 69 65 20 77 69 |gram wil|l die wi|
|00002680| 74 68 20 61 6e 20 61 64 | 64 72 65 73 73 20 65 72 |th an ad|dress er|
|00002690| 72 6f 72 20 69 66 20 74 | 68 65 20 77 69 64 74 68 |ror if t|he width|
|000026a0| 20 6f 66 20 74 68 65 20 | 47 72 61 66 50 6f 72 74 | of the |GrafPort|
|000026b0| 20 69 73 20 73 6d 61 6c | 6c 65 72 20 74 68 61 6e | is smal|ler than|
|000026c0| 20 74 68 65 20 77 69 64 | 74 68 20 6f 66 20 74 68 | the wid|th of th|
|000026d0| 65 20 63 68 61 72 61 63 | 74 65 72 2e 20 49 66 20 |e charac|ter. If |
|000026e0| 79 6f 75 20 63 68 65 63 | 6b 20 62 65 66 6f 72 65 |you chec|k before|
|000026f0| 20 64 72 61 77 69 6e 67 | 20 74 68 65 20 63 68 61 | drawing| the cha|
|00002700| 72 61 63 74 65 72 20 74 | 6f 20 73 65 65 20 69 66 |racter t|o see if|
|00002710| 20 74 68 65 20 47 72 61 | 66 50 6f 72 74 20 69 73 | the Gra|fPort is|
|00002720| 20 77 69 64 65 20 65 6e | 6f 75 67 68 2c 20 79 6f | wide en|ough, yo|
|00002730| 75 20 63 61 6e 20 61 76 | 6f 69 64 20 74 68 69 73 |u can av|oid this|
|00002740| 20 75 6e 66 6f 72 74 75 | 6e 61 74 65 20 74 72 61 | unfortu|nate tra|
|00002750| 67 65 64 79 2e 0d 46 75 | 72 74 68 65 72 20 52 65 |gedy..Fu|rther Re|
|00002760| 66 65 72 65 6e 63 65 3a | 0d a5 09 51 75 69 63 6b |ference:|...Quick|
|00002770| 44 72 61 77 0d 46 6f 6e | 64 20 6f 66 20 46 4f 4e |Draw.Fon|d of FON|
|00002780| 44 73 0d 54 65 78 74 09 | 09 4d 2e 54 45 2e 46 4f |Ds.Text.|.M.TE.FO|
|00002790| 4e 44 73 0d 57 72 69 74 | 74 65 6e 20 62 79 3a 09 |NDs.Writ|ten by:.|
|000027a0| 20 20 20 20 20 4a 6f 73 | 65 70 68 20 4d 61 75 72 | Jos|eph Maur|
|000027b0| 65 72 09 20 4d 61 79 20 | 31 39 39 32 0d 54 68 69 |er. May |1992.Thi|
|000027c0| 73 20 54 65 63 68 6e 69 | 63 61 6c 20 4e 6f 74 65 |s Techni|cal Note|
|000027d0| 20 74 61 6b 65 73 20 74 | 68 65 20 70 6c 61 63 65 | takes t|he place|
|000027e0| 20 6f 66 20 54 65 63 68 | 20 4e 6f 74 65 20 23 32 | of Tech| Note #2|
|000027f0| 36 2c 20 d2 43 68 61 72 | 61 63 74 65 72 20 76 73 |6, .Char|acter vs|
|00002800| 2e 20 53 74 72 69 6e 67 | 20 4f 70 65 72 61 74 69 |. String| Operati|
|00002810| 6f 6e 73 20 69 6e 20 51 | 75 69 63 6b 44 72 61 77 |ons in Q|uickDraw|
|00002820| d3 20 62 79 20 42 72 79 | 61 6e 20 53 74 65 61 72 |. by Bry|an Stear|
|00002830| 6e 73 20 28 4d 61 72 63 | 68 20 31 39 38 38 29 2c |ns (Marc|h 1988),|
|00002840| 20 77 68 69 63 68 20 70 | 6f 69 6e 74 65 64 20 6f | which p|ointed o|
|00002850| 75 74 20 74 68 65 20 70 | 6f 73 73 69 62 6c 65 20 |ut the p|ossible |
|00002860| 64 69 66 66 65 72 65 6e | 63 65 73 20 62 65 74 77 |differen|ces betw|
|00002870| 65 65 6e 20 74 68 65 20 | 72 65 73 75 6c 74 73 20 |een the |results |
|00002880| 6f 66 20 61 20 53 74 72 | 69 6e 67 57 69 64 74 68 |of a Str|ingWidth|
|00002890| 20 63 61 6c 6c 20 61 6e | 64 20 73 75 63 63 65 73 | call an|d succes|
|000028a0| 73 69 76 65 20 63 61 6c | 6c 73 20 74 6f 20 43 68 |sive cal|ls to Ch|
|000028b0| 61 72 57 69 64 74 68 2e | 20 54 68 69 73 20 4e 6f |arWidth.| This No|
|000028c0| 74 65 20 75 70 64 61 74 | 65 73 20 61 6e 64 20 62 |te updat|es and b|
|000028d0| 72 69 6e 67 73 20 69 6e | 74 6f 20 61 20 62 72 6f |rings in|to a bro|
|000028e0| 61 64 65 72 20 63 6f 6e | 74 65 78 74 20 74 68 65 |ader con|text the|
|000028f0| 20 69 73 73 75 65 73 20 | 72 65 6c 61 74 65 64 20 | issues |related |
|00002900| 74 6f 20 74 65 78 74 20 | 6d 65 61 73 75 72 69 6e |to text |measurin|
|00002910| 67 2e 20 49 74 20 61 6c | 73 6f 20 70 72 6f 76 69 |g. It al|so provi|
|00002920| 64 65 73 20 61 64 64 69 | 74 69 6f 6e 61 6c 20 64 |des addi|tional d|
|00002930| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 6f 6e 20 |ocumenta|tion on |
|00002940| 66 6f 6e 74 20 66 61 6d | 69 6c 79 20 72 65 73 6f |font fam|ily reso|
|00002950| 75 72 63 65 73 20 28 27 | 46 4f 4e 44 27 73 29 2c |urces ('|FOND's),|
|00002960| 20 61 6e 64 20 61 64 64 | 72 65 73 73 65 73 20 76 | and add|resses v|
|00002970| 61 72 69 6f 75 73 20 6f | 74 68 65 72 20 66 72 65 |arious o|ther fre|
|00002980| 71 75 65 6e 74 6c 79 20 | 61 73 6b 65 64 20 71 75 |quently |asked qu|
|00002990| 65 73 74 69 6f 6e 73 20 | 72 65 6c 61 74 65 64 20 |estions |related |
|000029a0| 74 6f 20 74 68 65 20 46 | 6f 6e 74 20 4d 61 6e 61 |to the F|ont Mana|
|000029b0| 67 65 72 2e 20 0d 49 6e | 74 72 6f 64 75 63 74 69 |ger. .In|troducti|
|000029c0| 6f 6e 0d 45 76 65 72 79 | 20 4d 61 63 69 6e 74 6f |on.Every| Macinto|
|000029d0| 73 68 20 64 65 76 65 6c | 6f 70 65 72 20 6e 65 65 |sh devel|oper nee|
|000029e0| 64 73 20 74 6f 20 64 72 | 61 77 20 74 65 78 74 20 |ds to dr|aw text |
|000029f0| 69 6e 20 61 20 47 72 61 | 66 50 6f 72 74 2c 20 61 |in a Gra|fPort, a|
|00002a00| 6e 64 20 74 6f 20 73 70 | 65 63 69 66 79 20 74 79 |nd to sp|ecify ty|
|00002a10| 70 65 66 61 63 65 2c 20 | 73 69 7a 65 2c 20 61 6e |peface, |size, an|
|00002a20| 64 20 73 74 79 6c 65 2e | 20 49 6e 20 6d 6f 73 74 |d style.| In most|
|00002a30| 20 63 61 73 65 73 2c 20 | 74 68 65 72 65 20 61 72 | cases, |there ar|
|00002a40| 65 20 6e 6f 20 70 72 6f | 62 6c 65 6d 73 2c 20 61 |e no pro|blems, a|
|00002a50| 6e 64 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 64 |nd appli|cation d|
|00002a60| 65 76 65 6c 6f 70 65 72 | 73 20 64 6f 6e d5 74 20 |eveloper|s don.t |
|00002a70| 6e 65 65 64 20 74 6f 20 | 68 61 76 65 20 69 6e 2d |need to |have in-|
|00002a80| 64 65 70 74 68 20 6b 6e | 6f 77 6c 65 64 67 65 20 |depth kn|owledge |
|00002a90| 6f 66 20 74 68 65 20 46 | 6f 6e 74 20 4d 61 6e 61 |of the F|ont Mana|
|00002aa0| 67 65 72 d5 73 20 69 6e | 6e 65 72 20 77 6f 72 6b |ger.s in|ner work|
|00002ab0| 69 6e 67 73 20 61 6e 64 | 20 74 68 65 20 64 61 74 |ings and| the dat|
|00002ac0| 61 20 73 74 72 75 63 74 | 75 72 65 73 20 69 6e 76 |a struct|ures inv|
|00002ad0| 6f 6c 76 65 64 2e 20 53 | 6f 6d 65 74 69 6d 65 73 |olved. S|ometimes|
|00002ae0| 2c 20 68 6f 77 65 76 65 | 72 2c 20 74 68 65 20 72 |, howeve|r, the r|
|00002af0| 65 73 75 6c 74 73 20 6f | 6e 20 74 68 65 20 73 63 |esults o|n the sc|
|00002b00| 72 65 65 6e 20 6f 72 20 | 6f 6e 20 70 72 69 6e 74 |reen or |on print|
|00002b10| 65 64 20 6f 75 74 70 75 | 74 20 6d 61 79 20 62 65 |ed outpu|t may be|
|00002b20| 20 64 69 66 66 65 72 65 | 6e 74 20 66 72 6f 6d 20 | differe|nt from |
|00002b30| 77 68 61 74 20 79 6f 75 | 20 65 78 70 65 63 74 65 |what you| expecte|
|00002b40| 64 2e 20 54 68 65 6e 2c | 20 75 73 75 61 6c 6c 79 |d. Then,| usually|
|00002b50| 2c 20 44 54 53 20 63 6f | 6d 65 73 20 69 6e 74 6f |, DTS co|mes into|
|00002b60| 20 70 6c 61 79 20 74 6f | 20 66 69 67 75 72 65 20 | play to| figure |
|00002b70| 6f 75 74 20 77 68 61 74 | 20 74 68 65 20 70 72 6f |out what| the pro|
|00002b80| 62 6c 65 6d 20 69 73 20 | 61 6e 64 20 68 6f 77 20 |blem is |and how |
|00002b90| 74 6f 20 66 69 78 20 69 | 74 2e 20 54 68 69 73 20 |to fix i|t. This |
|00002ba0| 4e 6f 74 65 20 69 73 20 | 62 61 73 65 64 20 6f 6e |Note is |based on|
|00002bb0| 20 73 68 61 72 70 20 64 | 65 76 65 6c 6f 70 65 72 | sharp d|eveloper|
|00002bc0| 20 71 75 65 73 74 69 6f | 6e 73 20 66 72 6f 6d 20 | questio|ns from |
|00002bd0| 74 68 65 20 6c 61 73 74 | 20 79 65 61 72 20 6f 72 |the last| year or|
|00002be0| 20 73 6f 2c 20 77 68 69 | 63 68 20 70 6f 69 6e 74 | so, whi|ch point|
|00002bf0| 20 6d 61 69 6e 6c 79 20 | 61 74 20 73 68 6f 72 74 | mainly |at short|
|00002c00| 63 6f 6d 69 6e 67 73 20 | 6f 66 20 74 68 65 20 65 |comings |of the e|
|00002c10| 78 69 73 74 69 6e 67 20 | 46 6f 6e 74 20 4d 61 6e |xisting |Font Man|
|00002c20| 61 67 65 72 20 61 72 63 | 68 69 74 65 63 74 75 72 |ager arc|hitectur|
|00002c30| 65 2c 20 69 6e 63 6f 6e | 73 69 73 74 65 6e 63 69 |e, incon|sistenci|
|00002c40| 65 73 20 69 6e 20 69 74 | 73 20 64 61 74 61 20 73 |es in it|s data s|
|00002c50| 74 72 75 63 74 75 72 65 | 73 2c 20 61 6e 64 20 6d |tructure|s, and m|
|00002c60| 69 73 73 69 6e 67 20 64 | 65 74 61 69 6c 73 20 69 |issing d|etails i|
|00002c70| 6e 20 74 68 65 20 64 6f | 63 75 6d 65 6e 2d 74 61 |n the do|cumen-ta|
|00002c80| 74 69 6f 6e 2e 0d 57 65 | d5 6c 6c 20 73 74 61 72 |tion..We|.ll star|
|00002c90| 74 20 77 69 74 68 20 61 | 20 68 69 73 74 6f 72 69 |t with a| histori|
|00002ca0| 63 61 6c 20 6f 76 65 72 | 76 69 65 77 2c 20 77 68 |cal over|view, wh|
|00002cb0| 69 63 68 20 64 69 73 63 | 75 73 73 65 73 20 74 68 |ich disc|usses th|
|00002cc0| 65 20 69 6e 74 72 6f 64 | 75 63 74 69 6f 6e 20 6f |e introd|uction o|
|00002cd0| 66 20 66 6f 6e 74 20 66 | 61 6d 69 6c 79 20 64 65 |f font f|amily de|
|00002ce0| 73 63 72 69 70 74 69 6f | 6e 20 72 65 73 6f 75 72 |scriptio|n resour|
|00002cf0| 63 65 73 20 28 27 46 4f | 4e 44 27 73 29 20 62 61 |ces ('FO|ND's) ba|
|00002d00| 63 6b 20 69 6e 20 31 39 | 38 36 2c 20 65 78 70 6c |ck in 19|86, expl|
|00002d10| 61 69 6e 73 20 74 68 65 | 20 63 6f 6e 73 65 71 75 |ains the| consequ|
|00002d20| 65 6e 63 65 73 20 6f 66 | 20 6e 6f 6e 2d 70 72 6f |ences of| non-pro|
|00002d30| 70 6f 72 74 69 6f 6e 61 | 6c 6c 79 20 73 63 61 6c |portiona|lly scal|
|00002d40| 69 6e 67 20 66 6f 6e 74 | 73 2c 20 61 6e 64 20 63 |ing font|s, and c|
|00002d50| 6f 76 65 72 73 20 20 6e | 6f 6e 2d 72 65 67 69 73 |overs n|on-regis|
|00002d60| 74 72 61 74 69 6f 6e 20 | 61 6e 64 20 76 6f 6c 61 |tration |and vola|
|00002d70| 74 69 6c 69 74 79 20 6f | 66 20 66 6f 6e 74 20 66 |tility o|f font f|
|00002d80| 61 6d 69 6c 79 20 6e 75 | 6d 62 65 72 73 2e 0d 57 |amily nu|mbers..W|
|00002d90| 65 20 77 69 6c 6c 20 74 | 68 65 6e 20 64 65 61 6c |e will t|hen deal|
|00002da0| 20 77 69 74 68 20 74 68 | 65 20 46 6f 6e 74 2f 44 | with th|e Font/D|
|00002db0| 41 20 4d 6f 76 65 72 20 | 61 6e 64 20 74 68 65 20 |A Mover |and the |
|00002dc0| 62 75 69 6c 74 2d 69 6e | 20 d2 4d 6f 76 65 72 d3 |built-in| .Mover.|
|00002dd0| 20 6f 66 20 74 68 65 20 | 46 69 6e 64 65 72 20 69 | of the |Finder i|
|00002de0| 6e 20 53 79 73 74 65 6d | 20 37 2e 20 57 65 20 64 |n System| 7. We d|
|00002df0| 69 73 63 75 73 73 20 61 | 20 6e 75 6d 62 65 72 20 |iscuss a| number |
|00002e00| 6f 66 20 6e 6f 74 2d 73 | 6f 2d 77 65 6c 6c 2d 6b |of not-s|o-well-k|
|00002e10| 6e 6f 77 6e 20 61 73 70 | 65 63 74 73 20 6f 66 20 |nown asp|ects of |
|00002e20| 6d 6f 76 69 6e 67 20 66 | 6f 6e 74 73 20 69 6e 20 |moving f|onts in |
|00002e30| 61 6e 64 20 6f 75 74 20 | 6f 66 20 61 20 73 75 69 |and out |of a sui|
|00002e40| 74 63 61 73 65 20 66 69 | 6c 65 2c 20 61 6e 64 20 |tcase fi|le, and |
|00002e50| 72 65 63 6f 6d 6d 65 6e | 64 20 74 68 61 74 20 79 |recommen|d that y|
|00002e60| 6f 75 20 61 6c 74 6f 67 | 65 74 68 65 72 20 61 62 |ou altog|ether ab|
|00002e70| 61 6e 64 6f 6e 20 74 68 | 65 20 72 65 73 6f 75 72 |andon th|e resour|
|00002e80| 63 65 20 74 79 70 65 20 | 27 46 4f 4e 54 27 2e 20 |ce type |'FONT'. |
|00002e90| 57 65 27 6c 6c 20 61 6c | 73 6f 20 63 6f 6d 6d 65 |We'll al|so comme|
|00002ea0| 6e 74 20 6f 6e 20 66 6f | 6e 74 20 6e 61 6d 65 73 |nt on fo|nt names|
|00002eb0| 2c 20 61 6e 64 20 73 68 | 6f 77 20 79 6f 75 20 68 |, and sh|ow you h|
|00002ec0| 6f 77 20 74 6f 20 70 75 | 74 20 73 65 70 61 72 61 |ow to pu|t separa|
|00002ed0| 74 65 20 73 74 79 6c 69 | 73 74 69 63 20 76 61 72 |te styli|stic var|
|00002ee0| 69 61 6e 74 73 20 6f 66 | 20 61 20 74 79 70 65 66 |iants of| a typef|
|00002ef0| 61 63 65 20 74 6f 67 65 | 74 68 65 72 20 69 6e 74 |ace toge|ther int|
|00002f00| 6f 20 6f 6e 65 20 66 6f | 6e 74 20 66 61 6d 69 6c |o one fo|nt famil|
|00002f10| 79 2e 20 41 6e 64 20 77 | 65 20 70 72 6f 76 69 64 |y. And w|e provid|
|00002f20| 65 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |e docume|ntation |
|00002f30| 6f 6e 20 74 68 65 20 66 | 66 56 65 72 73 69 6f 6e |on the f|fVersion|
|00002f40| 20 66 69 65 6c 64 20 6f | 66 20 61 20 27 46 4f 4e | field o|f a 'FON|
|00002f50| 44 27 20 28 61 63 63 6f | 6d 70 61 6e 69 65 64 20 |D' (acco|mpanied |
|00002f60| 62 79 20 61 20 64 69 73 | 63 6c 61 69 6d 65 72 20 |by a dis|claimer |
|00002f70| 61 6e 64 20 61 6e 6f 74 | 68 65 72 20 70 69 65 63 |and anot|her piec|
|00002f80| 65 20 6f 66 20 69 72 72 | 69 74 61 74 69 6e 67 20 |e of irr|itating |
|00002f90| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 29 2e 0d 54 68 |informat|ion)..Th|
|00002fa0| 65 20 6d 61 69 6e 20 62 | 6f 64 79 20 6f 66 20 74 |e main b|ody of t|
|00002fb0| 68 69 73 20 4e 6f 74 65 | 20 61 64 64 72 65 73 73 |his Note| address|
|00002fc0| 65 73 20 68 6f 77 20 74 | 68 65 20 46 6f 6e 74 20 |es how t|he Font |
|00002fd0| 4d 61 6e 61 67 65 72 20 | 77 6f 72 6b 73 20 69 6e |Manager |works in|
|00002fe0| 20 74 68 65 20 46 4d 53 | 77 61 70 46 6f 6e 74 20 | the FMS|wapFont |
|00002ff0| 63 6f 6e 74 65 78 74 2c | 20 61 6e 64 20 67 69 76 |context,| and giv|
|00003000| 65 73 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |es infor|mation o|
|00003010| 6e 20 74 68 65 20 73 63 | 61 6c 69 6e 67 20 66 61 |n the sc|aling fa|
|00003020| 63 74 6f 72 73 20 69 6e | 20 74 68 65 20 46 4d 4f |ctors in| the FMO|
|00003030| 75 74 70 75 74 20 73 74 | 72 75 63 74 75 72 65 20 |utput st|ructure |
|00003040| 61 6e 64 20 6f 6e 20 74 | 68 65 20 63 68 61 6e 67 |and on t|he chang|
|00003050| 65 73 20 69 6e 74 72 6f | 64 75 63 65 64 20 62 79 |es intro|duced by|
|00003060| 20 54 72 75 65 54 79 70 | 65 2e 20 57 65 20 61 67 | TrueTyp|e. We ag|
|00003070| 61 69 6e 20 74 6f 6f 6b | 20 74 68 65 20 65 78 61 |ain took| the exa|
|00003080| 6d 70 6c 65 73 20 6f 66 | 20 75 6e 65 78 70 65 63 |mples of| unexpec|
|00003090| 74 65 64 20 62 65 68 61 | 76 69 6f 72 20 28 75 6e |ted beha|vior (un|
|000030a0| 64 65 72 20 63 65 72 74 | 61 69 6e 20 63 69 72 63 |der cert|ain circ|
|000030b0| 75 6d 73 74 61 6e 63 65 | 73 29 20 66 72 6f 6d 20 |umstance|s) from |
|000030c0| 64 65 76 65 6c 6f 70 65 | 72 20 71 75 65 73 74 69 |develope|r questi|
|000030d0| 6f 6e 73 2e 20 54 68 61 | 6e 6b 73 20 66 6f 72 20 |ons. Tha|nks for |
|000030e0| 68 65 6c 70 69 6e 67 20 | 64 6f 63 75 6d 65 6e 74 |helping |document|
|000030f0| 20 74 68 69 73 21 0d 44 | 65 74 65 72 6d 69 6e 69 | this!.D|etermini|
|00003100| 6e 67 20 74 68 65 20 77 | 69 64 74 68 20 6f 66 20 |ng the w|idth of |
|00003110| 74 65 78 74 2c 20 61 73 | 20 72 65 71 75 69 72 65 |text, as| require|
|00003120| 64 20 66 6f 72 20 6c 69 | 6e 65 20 6c 61 79 6f 75 |d for li|ne layou|
|00003130| 74 2c 20 69 73 20 73 6f | 6d 65 74 69 6d 65 73 20 |t, is so|metimes |
|00003140| 74 72 69 63 6b 69 65 72 | 20 74 68 61 6e 20 79 6f |trickier| than yo|
|00003150| 75 20 6d 69 67 68 74 20 | 74 68 69 6e 6b 2e 20 57 |u might |think. W|
|00003160| 65 20 77 69 6c 6c 20 64 | 6f 63 75 6d 65 6e 74 20 |e will d|ocument |
|00003170| 74 68 65 20 65 66 66 65 | 63 74 73 20 6f 66 20 53 |the effe|cts of S|
|00003180| 65 74 46 72 61 63 74 45 | 6e 61 62 6c 65 20 69 6e |etFractE|nable in|
|00003190| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 20 61 6e 64 | more de|tail and|
|000031a0| 20 6d 65 6e 74 69 6f 6e | 20 73 6f 6d 65 20 6d 6f | mention| some mo|
|000031b0| 72 65 20 6c 69 6e 65 20 | 6c 61 79 6f 75 74 20 70 |re line |layout p|
|000031c0| 72 6f 62 6c 65 6d 73 2e | 0d 46 69 6e 61 6c 6c 79 |roblems.|.Finally|
|000031d0| 2c 20 74 68 69 73 20 4e | 6f 74 65 20 69 6e 63 6c |, this N|ote incl|
|000031e0| 75 64 65 73 20 73 61 6d | 70 6c 65 20 63 6f 64 65 |udes sam|ple code|
|000031f0| 20 74 68 61 74 20 70 75 | 74 73 20 74 68 65 20 4f | that pu|ts the O|
|00003200| 75 74 6c 69 6e 65 4d 65 | 74 72 69 63 73 20 63 61 |utlineMe|trics ca|
|00003210| 6c 6c 20 74 6f 20 77 6f | 72 6b 2c 20 61 6e 64 20 |ll to wo|rk, and |
|00003220| 20 64 65 74 65 72 6d 69 | 6e 65 73 20 74 65 78 74 | determi|nes text|
|00003230| 20 62 6f 75 6e 64 69 6e | 67 20 62 6f 78 65 73 20 | boundin|g boxes |
|00003240| 66 6f 72 20 62 69 74 6d | 61 70 20 66 6f 6e 74 73 |for bitm|ap fonts|
|00003250| 2e 0d 53 6f 6d 65 20 46 | 4f 4e 44 20 42 61 63 6b |..Some F|OND Back|
|00003260| 67 72 6f 75 6e 64 20 0d | 4f 72 69 67 69 6e 61 6c |ground .|Original|
|00003270| 6c 79 20 28 49 6e 73 69 | 64 65 20 4d 61 63 69 6e |ly (Insi|de Macin|
|00003280| 74 6f 73 68 20 56 6f 6c | 75 6d 65 20 49 2c 20 43 |tosh Vol|ume I, C|
|00003290| 68 61 70 74 65 72 20 37 | 29 2c 20 61 6c 6c 20 66 |hapter 7|), all f|
|000032a0| 6f 6e 74 2d 72 65 6c 61 | 74 65 64 20 64 61 74 61 |ont-rela|ted data|
|000032b0| 20 77 61 73 20 63 6f 6e | 74 61 69 6e 65 64 20 69 | was con|tained i|
|000032c0| 6e 20 72 65 73 6f 75 72 | 63 65 73 20 6f 66 20 74 |n resour|ces of t|
|000032d0| 79 70 65 20 27 46 4f 4e | 54 27 2e 20 46 6f 72 20 |ype 'FON|T'. For |
|000032e0| 61 20 66 6f 6e 74 20 6e | 75 6d 62 65 72 20 77 69 |a font n|umber wi|
|000032f0| 74 68 69 6e 20 74 68 65 | 20 72 61 6e 67 65 20 30 |thin the| range 0|
|00003300| 2e 2e 2e 2e 32 35 35 2c | 20 61 6e 64 20 61 20 66 |....255,| and a f|
|00003310| 6f 6e 74 20 73 69 7a 65 | 20 72 65 73 74 72 69 63 |ont size| restric|
|00003320| 74 65 64 20 74 6f 20 6c | 65 73 73 20 74 68 61 6e |ted to l|ess than|
|00003330| 20 31 32 38 2c 20 74 68 | 65 20 28 75 6e 6e 61 6d | 128, th|e (unnam|
|00003340| 65 64 29 20 27 46 4f 4e | 54 27 20 72 65 73 6f 75 |ed) 'FON|T' resou|
|00003350| 72 63 65 20 77 69 74 68 | 20 61 6e 20 49 44 3a 0d |rce with| an ID:.|
|00003360| 09 31 32 38 2a 28 66 6f | 6e 74 20 6e 75 6d 62 65 |.128*(fo|nt numbe|
|00003370| 72 29 20 2b 20 28 66 6f | 6e 74 20 73 69 7a 65 29 |r) + (fo|nt size)|
|00003380| 0d 63 6f 6e 74 61 69 6e | 65 64 20 74 68 65 20 62 |.contain|ed the b|
|00003390| 69 74 6d 61 70 20 66 6f | 6e 74 20 73 74 72 69 6b |itmap fo|nt strik|
|000033a0| 65 2c 20 77 68 69 6c 65 | 20 74 68 65 20 27 46 4f |e, while| the 'FO|
|000033b0| 4e 54 27 20 72 65 73 6f | 75 72 63 65 20 77 69 74 |NT' reso|urce wit|
|000033c0| 68 20 49 44 20 3d 20 31 | 32 38 2a 28 66 6f 6e 74 |h ID = 1|28*(font|
|000033d0| 20 6e 75 6d 62 65 72 29 | 2c 20 63 6f 72 72 65 73 | number)|, corres|
|000033e0| 70 6f 6e 64 69 6e 67 20 | 74 6f 20 66 6f 6e 74 20 |ponding |to font |
|000033f0| 73 69 7a 65 20 30 2c 20 | 64 69 64 20 6e 6f 74 20 |size 0, |did not |
|00003400| 63 6f 6e 74 61 69 6e 20 | 61 6e 79 20 64 61 74 61 |contain |any data|
|00003410| 2c 20 62 75 74 20 69 74 | 73 20 72 65 73 6f 75 72 |, but it|s resour|
|00003420| 63 65 20 6e 61 6d 65 20 | 70 72 6f 76 69 64 65 64 |ce name |provided|
|00003430| 20 74 68 65 20 66 6f 6e | 74 20 66 61 6d 69 6c 79 | the fon|t family|
|00003440| 20 6e 61 6d 65 2e 20 51 | 75 69 63 6b 44 72 61 77 | name. Q|uickDraw|
|00003450| 20 74 6f 6f 6b 20 63 61 | 72 65 20 6f 66 20 73 74 | took ca|re of st|
|00003460| 79 6c 69 73 74 69 63 20 | 76 61 72 69 61 6e 74 73 |ylistic |variants|
|00003470| 20 6c 69 6b 65 20 69 74 | 61 6c 69 63 2c 20 62 6f | like it|alic, bo|
|00003480| 6c 64 2c 20 73 68 61 64 | 6f 77 2c 20 61 6e 64 20 |ld, shad|ow, and |
|00003490| 73 6f 20 6f 6e 3b 20 69 | 66 20 61 20 75 73 65 72 |so on; i|f a user|
|000034a0| 20 68 61 64 20 61 20 73 | 70 65 63 69 66 69 63 61 | had a s|pecifica|
|000034b0| 6c 6c 79 20 66 69 6e 65 | 2d 74 75 6e 65 64 20 66 |lly fine|-tuned f|
|000034c0| 6f 6e 74 20 73 74 72 69 | 6b 65 20 66 6f 72 20 61 |ont stri|ke for a|
|000034d0| 20 73 74 79 6c 69 73 74 | 69 63 20 76 61 72 69 61 | stylist|ic varia|
|000034e0| 6e 74 2c 20 51 75 69 63 | 6b 44 72 61 77 20 77 6f |nt, Quic|kDraw wo|
|000034f0| 75 6c 64 20 6e 6f 74 20 | 61 75 74 6f 6d 61 74 69 |uld not |automati|
|00003500| 63 61 6c 6c 79 20 73 75 | 62 73 74 69 74 75 74 65 |cally su|bstitute|
|00003510| 20 69 74 20 77 68 65 6e | 20 64 72 61 77 69 6e 67 | it when| drawing|
|00003520| 20 74 65 78 74 2e 0d 46 | 6f 72 20 61 65 73 74 68 | text..F|or aesth|
|00003530| 65 74 69 63 20 72 65 61 | 73 6f 6e 73 2c 20 62 69 |etic rea|sons, bi|
|00003540| 74 6d 61 70 20 66 6f 6e | 74 73 20 66 6f 72 20 64 |tmap fon|ts for d|
|00003550| 69 66 66 65 72 65 6e 74 | 20 73 69 7a 65 73 20 77 |ifferent| sizes w|
|00003560| 65 72 65 20 75 73 75 61 | 6c 6c 79 20 64 65 73 69 |ere usua|lly desi|
|00003570| 67 6e 65 64 20 77 69 74 | 68 20 77 69 64 74 68 73 |gned wit|h widths|
|00003580| 20 6e 6f 6e 2d 70 72 6f | 70 6f 72 74 69 6f 6e 61 | non-pro|portiona|
|00003590| 6c 20 74 6f 20 74 68 65 | 20 70 6f 69 6e 74 20 73 |l to the| point s|
|000035a0| 69 7a 65 2e 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |ize. For| example|
|000035b0| 2c 20 74 68 65 20 74 65 | 78 74 20 d2 53 68 6f 77 |, the te|xt .Show|
|000035c0| 20 74 68 65 20 64 69 66 | 66 65 72 65 6e 63 65 20 | the dif|ference |
|000035d0| 69 6e 20 74 65 78 74 20 | 77 69 64 74 68 73 d3 20 |in text |widths. |
|000035e0| 64 72 61 77 6e 20 77 69 | 74 68 20 43 6f 75 72 69 |drawn wi|th Couri|
|000035f0| 65 72 20 39 20 6d 65 61 | 73 75 72 65 73 20 31 37 |er 9 mea|sures 17|
|00003600| 30 20 70 69 78 65 6c 73 | 2c 20 77 68 65 72 65 61 |0 pixels|, wherea|
|00003610| 73 20 74 68 65 20 73 61 | 6d 65 20 74 65 78 74 20 |s the sa|me text |
|00003620| 64 72 61 77 6e 20 77 69 | 74 68 20 43 6f 75 72 69 |drawn wi|th Couri|
|00003630| 65 72 20 31 38 20 6d 65 | 61 73 75 72 65 73 20 33 |er 18 me|asures 3|
|00003640| 37 34 20 70 69 78 65 6c | 73 2c 20 77 68 69 63 68 |74 pixel|s, which|
|00003650| 20 69 73 20 31 30 25 20 | 6d 6f 72 65 20 74 68 61 | is 10% |more tha|
|00003660| 6e 20 79 6f 75 20 65 78 | 70 65 63 74 2e 20 28 42 |n you ex|pect. (B|
|00003670| 79 20 74 68 65 20 77 61 | 79 2c 20 74 68 69 73 20 |y the wa|y, this |
|00003680| 69 73 20 62 61 64 20 6e | 65 77 73 20 66 6f 72 20 |is bad n|ews for |
|00003690| 74 68 65 20 49 6d 61 67 | 65 57 72 69 74 65 72 20 |the Imag|eWriter |
|000036a0| 70 72 69 6e 74 65 72 20 | 64 72 69 76 65 72 2e 20 |printer |driver. |
|000036b0| 57 68 65 6e 20 d2 42 65 | 73 74 d3 20 6d 6f 64 65 |When .Be|st. mode|
|000036c0| 20 28 31 34 34 20 64 70 | 69 29 20 69 73 20 73 65 | (144 dp|i) is se|
|000036d0| 6c 65 63 74 65 64 20 61 | 6e 64 20 74 65 78 74 20 |lected a|nd text |
|000036e0| 69 6e 20 43 6f 75 72 69 | 65 72 20 39 20 69 73 20 |in Couri|er 9 is |
|000036f0| 74 6f 20 62 65 20 70 72 | 69 6e 74 65 64 2c 20 74 |to be pr|inted, t|
|00003700| 68 65 20 70 72 69 6e 74 | 65 72 20 64 72 69 76 65 |he print|er drive|
|00003710| 72 20 75 73 65 73 20 43 | 6f 75 72 69 65 72 20 31 |r uses C|ourier 1|
|00003720| 38 20 74 6f 20 72 65 6e | 64 65 72 20 74 68 65 20 |8 to ren|der the |
|00003730| 39 2d 70 6f 69 6e 74 20 | 66 6f 6e 74 20 73 69 7a |9-point |font siz|
|00003740| 65 20 6f 6e 20 74 68 65 | 20 70 61 70 65 72 20 61 |e on the| paper a|
|00003750| 74 20 74 77 69 63 65 20 | 74 68 65 20 73 63 72 65 |t twice |the scre|
|00003760| 65 6e 20 72 65 73 6f 6c | 75 74 69 6f 6e 2c 20 61 |en resol|ution, a|
|00003770| 6e 64 20 6f 62 76 69 6f | 75 73 6c 79 20 68 61 73 |nd obvio|usly has|
|00003780| 20 62 69 67 20 74 72 6f | 75 62 6c 65 20 63 6f 6d | big tro|uble com|
|00003790| 70 65 6e 73 61 74 69 6e | 67 20 66 6f 72 20 74 68 |pensatin|g for th|
|000037a0| 65 20 31 30 25 20 64 69 | 66 66 65 72 65 6e 63 65 |e 10% di|fference|
|000037b0| 20 69 6e 20 74 65 78 74 | 20 77 69 64 74 68 2e 29 | in text| width.)|
|000037c0| 0d 4f 6e 20 74 68 65 20 | 6f 74 68 65 72 20 68 61 |.On the |other ha|
|000037d0| 6e 64 2c 20 67 69 76 65 | 6e 20 74 68 61 74 20 6f |nd, give|n that o|
|000037e0| 6e 6c 79 20 69 6e 74 65 | 67 65 72 20 63 68 61 72 |nly inte|ger char|
|000037f0| 61 63 74 65 72 20 77 69 | 64 74 68 73 20 28 69 6e |acter wi|dths (in|
|00003800| 20 51 75 69 63 6b 44 72 | 61 77 d5 73 20 37 32 20 | QuickDr|aw.s 72 |
|00003810| 64 70 69 20 75 6e 69 74 | 73 29 20 61 72 65 20 70 |dpi unit|s) are p|
|00003820| 6f 73 73 69 62 6c 65 2c | 20 70 72 6f 70 6f 72 74 |ossible,| proport|
|00003830| 69 6f 6e 61 6c 20 66 6f | 6e 74 20 73 63 61 6c 69 |ional fo|nt scali|
|00003840| 6e 67 20 69 73 20 63 6f | 6d 70 72 6f 6d 69 73 65 |ng is co|mpromise|
|00003850| 64 20 61 6e 79 77 61 79 | 2e 20 20 41 63 63 75 6d |d anyway|. Accum|
|00003860| 75 6c 61 74 65 64 20 72 | 6f 75 6e 64 69 6e 67 20 |ulated r|ounding |
|00003870| 65 72 72 6f 72 73 20 69 | 6e 20 74 65 78 74 20 6d |errors i|n text m|
|00003880| 65 61 73 75 72 69 6e 67 | 2c 20 70 61 72 74 69 63 |easuring|, partic|
|00003890| 75 6c 61 72 6c 79 20 66 | 6f 72 20 73 63 61 6c 65 |ularly f|or scale|
|000038a0| 64 20 66 6f 6e 74 73 2c | 20 63 6f 6e 74 72 69 62 |d fonts,| contrib|
|000038b0| 75 74 65 20 74 6f 20 74 | 68 65 20 68 65 61 64 61 |ute to t|he heada|
|000038c0| 63 68 65 73 20 6f 66 20 | 6d 61 6e 79 20 4d 61 63 |ches of |many Mac|
|000038d0| 69 6e 74 6f 73 68 20 70 | 72 6f 67 72 61 6d 6d 65 |intosh p|rogramme|
|000038e0| 72 73 2e 20 54 68 65 20 | 63 6f 6d 70 75 74 65 64 |rs. The |computed|
|000038f0| 20 74 65 78 74 20 77 69 | 64 74 68 73 20 28 76 69 | text wi|dths (vi|
|00003900| 74 61 6c 20 66 6f 72 20 | 70 6f 73 69 74 69 6f 6e |tal for |position|
|00003910| 69 6e 67 20 74 65 78 74 | 20 70 72 65 63 69 73 65 |ing text| precise|
|00003920| 6c 79 20 61 6e 64 20 66 | 6f 72 20 6c 69 6e 65 20 |ly and f|or line |
|00003930| 6c 61 79 6f 75 74 20 61 | 6c 67 6f 72 69 74 68 6d |layout a|lgorithm|
|00003940| 73 20 74 6f 20 6a 75 73 | 74 69 66 79 20 74 65 78 |s to jus|tify tex|
|00003950| 74 29 20 73 6f 6d 65 74 | 69 6d 65 73 20 63 68 61 |t) somet|imes cha|
|00003960| 6e 67 65 20 71 75 69 74 | 65 20 61 62 72 75 70 74 |nge quit|e abrupt|
|00003970| 6c 79 20 77 68 65 6e 20 | 74 68 65 20 75 73 65 72 |ly when |the user|
|00003980| 20 72 65 6d 6f 76 65 73 | 20 6f 72 20 61 64 64 73 | removes| or adds|
|00003990| 20 63 65 72 74 61 69 6e | 20 66 6f 6e 74 20 73 69 | certain| font si|
|000039a0| 7a 65 73 2e 0d 54 68 65 | 20 69 6e 74 72 6f 64 75 |zes..The| introdu|
|000039b0| 63 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 4c 61 73 |ction of| the Las|
|000039c0| 65 72 57 72 69 74 65 72 | 2c 20 61 6e 64 20 74 68 |erWriter|, and th|
|000039d0| 65 20 73 75 63 63 65 73 | 73 20 6f 66 20 4d 61 63 |e succes|s of Mac|
|000039e0| 69 6e 74 6f 73 68 20 69 | 6e 20 74 68 65 20 64 65 |intosh i|n the de|
|000039f0| 73 6b 74 6f 70 20 70 75 | 62 6c 69 73 68 69 6e 67 |sktop pu|blishing|
|00003a00| 20 61 72 65 6e 61 2c 20 | 20 72 65 71 75 69 72 65 | arena, | require|
|00003a10| 64 20 61 6e 20 65 78 74 | 65 6e 73 69 6f 6e 20 6f |d an ext|ension o|
|00003a20| 66 20 74 68 65 20 6f 72 | 69 67 69 6e 61 6c 20 46 |f the or|iginal F|
|00003a30| 6f 6e 74 20 4d 61 6e 61 | 67 65 72 20 61 72 63 68 |ont Mana|ger arch|
|00003a40| 69 74 65 63 74 75 72 65 | 2e 20 54 68 69 73 20 65 |itecture|. This e|
|00003a50| 78 74 65 6e 73 69 6f 6e | 20 69 73 20 62 61 73 65 |xtension| is base|
|00003a60| 64 20 6f 6e 20 74 68 65 | 20 63 6f 6e 63 65 70 74 |d on the| concept|
|00003a70| 20 6f 66 20 d2 66 6f 6e | 74 20 66 61 6d 69 6c 79 | of .fon|t family|
|00003a80| 20 64 65 73 63 72 69 70 | 74 69 6f 6e d3 20 72 65 | descrip|tion. re|
|00003a90| 73 6f 75 72 63 65 73 20 | 6f 66 20 74 79 70 65 20 |sources |of type |
|00003aa0| 27 46 4f 4e 44 27 2c 20 | 61 6e 64 20 6f 6e 20 61 |'FOND', |and on a|
|00003ab0| 20 6e 65 77 20 72 65 73 | 6f 75 72 63 65 20 74 79 | new res|ource ty|
|00003ac0| 70 65 20 27 4e 46 4e 54 | 27 20 66 6f 72 20 74 68 |pe 'NFNT|' for th|
|00003ad0| 65 20 64 61 74 61 20 6f | 66 20 74 68 65 20 65 78 |e data o|f the ex|
|00003ae0| 69 73 74 69 6e 67 20 27 | 46 4f 4e 54 27 20 72 65 |isting '|FONT' re|
|00003af0| 73 6f 75 72 63 65 73 20 | 28 73 65 65 20 49 6e 73 |sources |(see Ins|
|00003b00| 69 64 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 56 6f |ide Maci|ntosh Vo|
|00003b10| 6c 75 6d 65 20 49 56 2c | 20 43 68 61 70 74 65 72 |lume IV,| Chapter|
|00003b20| 20 35 29 2e 0d 54 68 65 | 20 27 46 4f 4e 44 27 20 | 5)..The| 'FOND' |
|00003b30| 72 65 73 6f 75 72 63 65 | 20 73 74 6f 72 65 73 20 |resource| stores |
|00003b40| 73 69 7a 65 2d 69 6e 64 | 65 70 65 6e 64 65 6e 74 |size-ind|ependent|
|00003b50| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 61 62 6f | informa|tion abo|
|00003b60| 75 74 20 74 68 65 20 66 | 6f 6e 74 20 66 61 6d 69 |ut the f|ont fami|
|00003b70| 6c 79 2c 20 61 6e 64 20 | 69 74 73 20 72 65 73 6f |ly, and |its reso|
|00003b80| 75 72 63 65 20 49 44 20 | 69 73 20 74 68 65 20 66 |urce ID |is the f|
|00003b90| 6f 6e 74 20 6e 75 6d 62 | 65 72 20 28 69 6e 20 74 |ont numb|er (in t|
|00003ba0| 68 65 20 72 61 6e 67 65 | 20 30 2e 2e 2e 33 32 37 |he range| 0...327|
|00003bb0| 36 37 29 2e 20 54 68 65 | 20 72 65 73 6f 75 72 63 |67). The| resourc|
|00003bc0| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 27 46 |e name o|f the 'F|
|00003bd0| 4f 4e 44 27 20 69 73 20 | 74 68 65 20 66 6f 6e 74 |OND' is |the font|
|00003be0| 20 6e 61 6d 65 2c 20 61 | 6e 64 20 69 74 20 63 6f | name, a|nd it co|
|00003bf0| 6e 74 61 69 6e 73 20 61 | 20 76 61 72 69 61 62 6c |ntains a| variabl|
|00003c00| 65 2d 6c 65 6e 67 74 68 | 20 66 6f 6e 74 20 61 73 |e-length| font as|
|00003c10| 73 6f 63 69 61 74 69 6f | 6e 20 74 61 62 6c 65 2c |sociatio|n table,|
|00003c20| 20 77 68 69 63 68 20 72 | 65 66 65 72 65 6e 63 65 | which r|eference|
|00003c30| 73 20 74 68 65 20 66 6f | 6e 74 20 73 74 72 69 6b |s the fo|nt strik|
|00003c40| 65 73 20 62 65 6c 6f 6e | 67 69 6e 67 20 74 6f 20 |es belon|ging to |
|00003c50| 61 20 73 70 65 63 69 66 | 69 63 20 66 6f 6e 74 20 |a specif|ic font |
|00003c60| 66 61 6d 69 6c 79 2e 20 | 54 68 65 73 65 20 72 65 |family. |These re|
|00003c70| 66 65 72 65 6e 63 65 73 | 20 69 6e 63 6c 75 64 65 |ferences| include|
|00003c80| 20 73 69 7a 65 2c 20 73 | 74 79 6c 65 2c 20 61 6e | size, s|tyle, an|
|00003c90| 64 20 72 65 73 6f 75 72 | 63 65 20 49 44 20 6f 66 |d resour|ce ID of|
|00003ca0| 20 74 68 65 20 27 4e 46 | 4e 54 27 20 6f 72 20 27 | the 'NF|NT' or '|
|00003cb0| 46 4f 4e 54 27 20 72 65 | 73 6f 75 72 63 65 20 63 |FONT' re|source c|
|00003cc0| 6f 6e 74 61 69 6e 69 6e | 67 20 74 68 65 20 62 69 |ontainin|g the bi|
|00003cd0| 74 6d 61 70 20 66 6f 6e | 74 20 64 61 74 61 2e 20 |tmap fon|t data. |
|00003ce0| 54 72 75 65 54 79 70 65 | 20 66 6f 6e 74 73 20 77 |TrueType| fonts w|
|00003cf0| 65 72 65 20 72 65 74 72 | 6f 66 69 74 74 65 64 20 |ere retr|ofitted |
|00003d00| 69 6e 74 6f 20 74 68 69 | 73 20 73 63 68 65 6d 65 |into thi|s scheme|
|00003d10| 2c 20 61 6e 64 20 61 72 | 65 20 69 64 65 6e 74 69 |, and ar|e identi|
|00003d20| 66 69 65 64 20 61 73 20 | 66 6f 6e 74 20 73 74 72 |fied as |font str|
|00003d30| 69 6b 65 20 72 65 73 6f | 75 72 63 65 73 20 66 6f |ike reso|urces fo|
|00003d40| 72 20 70 6f 69 6e 74 20 | 73 69 7a 65 20 7a 65 72 |r point |size zer|
|00003d50| 6f 2e 20 20 41 6e 79 20 | 72 65 66 65 72 65 6e 63 |o. Any |referenc|
|00003d60| 65 20 74 6f 20 70 6f 69 | 6e 74 20 73 69 7a 65 20 |e to poi|nt size |
|00003d70| 7a 65 72 6f 20 72 65 66 | 65 72 73 20 74 6f 20 61 |zero ref|ers to a|
|00003d80| 20 72 65 73 6f 75 72 63 | 65 20 6f 66 20 74 79 70 | resourc|e of typ|
|00003d90| 65 20 27 73 66 6e 74 27 | 2e 0d 4e 6f 74 65 3a 09 |e 'sfnt'|..Note:.|
|00003da0| 54 68 65 20 72 61 6e 67 | 65 20 30 2e 2e 2e 33 32 |The rang|e 0...32|
|00003db0| 37 36 37 20 66 6f 72 20 | 66 6f 6e 74 20 6e 75 6d |767 for |font num|
|00003dc0| 62 65 72 73 20 69 73 20 | 73 75 62 64 69 76 69 64 |bers is |subdivid|
|00003dd0| 65 64 20 69 6e 74 6f 20 | 72 61 6e 67 65 73 20 66 |ed into |ranges f|
|00003de0| 6f 72 20 74 68 65 20 76 | 61 72 69 6f 75 73 20 73 |or the v|arious s|
|00003df0| 63 72 69 70 74 20 73 79 | 73 74 65 6d 73 20 28 73 |cript sy|stems (s|
|00003e00| 65 65 20 49 6e 73 69 64 | 65 20 4d 61 63 69 6e 74 |ee Insid|e Macint|
|00003e10| 6f 73 68 20 56 6f 6c 75 | 6d 65 20 56 49 2c 20 70 |osh Volu|me VI, p|
|00003e20| 61 67 65 73 20 31 33 2d | 38 20 61 6e 64 20 31 34 |ages 13-|8 and 14|
|00003e30| 2d 32 32 2c 20 61 6e 64 | 20 4d 2e 54 45 2e 46 6f |-22, and| M.TE.Fo|
|00003e40| 6e 74 73 41 6e 64 53 63 | 72 69 70 74 73 29 2e 20 |ntsAndSc|ripts). |
|00003e50| 54 68 69 73 20 72 65 73 | 74 72 69 63 74 73 20 74 |This res|tricts t|
|00003e60| 68 65 20 72 61 6e 67 65 | 20 6f 66 20 66 6f 6e 74 |he range| of font|
|00003e70| 20 6e 75 6d 62 65 72 73 | 20 66 6f 72 20 74 68 65 | numbers| for the|
|00003e80| 20 52 6f 6d 61 6e 20 73 | 63 72 69 70 74 20 74 6f | Roman s|cript to|
|00003e90| 20 30 2e 2e 2e 31 36 33 | 38 33 2c 20 77 69 74 68 | 0...163|83, with|
|00003ea0| 20 30 2c 20 31 2c 20 61 | 6e 64 20 31 36 33 38 33 | 0, 1, a|nd 16383|
|00003eb0| 20 72 65 73 65 72 76 65 | 64 20 66 6f 72 20 74 68 | reserve|d for th|
|00003ec0| 65 20 73 79 73 74 65 6d | 2e 20 0d 09 53 69 6e 63 |e system|. ..Sinc|
|00003ed0| 65 20 41 70 70 6c 65 20 | 6f 72 69 67 69 6e 61 6c |e Apple |original|
|00003ee0| 6c 79 20 69 6e 74 65 6e | 64 65 64 20 66 6f 6e 74 |ly inten|ded font|
|00003ef0| 73 20 74 6f 20 62 65 20 | 72 65 66 65 72 65 6e 63 |s to be |referenc|
|00003f00| 65 64 20 62 79 20 74 68 | 65 69 72 20 66 6f 6e 74 |ed by th|eir font|
|00003f10| 20 66 61 6d 69 6c 79 20 | 6e 75 6d 62 65 72 73 2c | family |numbers,|
|00003f20| 20 44 54 53 20 61 74 74 | 65 6d 70 74 65 64 20 74 | DTS att|empted t|
|00003f30| 6f 20 72 65 67 69 73 74 | 65 72 20 74 68 6f 73 65 |o regist|er those|
|00003f40| 20 6e 75 6d 62 65 72 73 | 20 28 73 65 65 20 49 6e | numbers| (see In|
|00003f50| 73 69 64 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 56 |side Mac|intosh V|
|00003f60| 6f 6c 75 6d 65 20 49 2c | 20 70 61 67 65 20 32 31 |olume I,| page 21|
|00003f70| 39 20 61 6e 64 20 56 6f | 6c 75 6d 65 20 49 56 2c |9 and Vo|lume IV,|
|00003f80| 20 70 61 67 65 20 33 31 | 29 2e 20 20 54 68 69 73 | page 31|). This|
|00003f90| 20 66 61 69 6c 65 64 d1 | 6e 6f 74 20 6f 6e 6c 79 | failed.|not only|
|00003fa0| 20 62 65 63 61 75 73 65 | 20 74 68 65 20 6e 75 6d | because| the num|
|00003fb0| 62 65 72 20 6f 66 20 66 | 6f 6e 74 73 20 72 65 67 |ber of f|onts reg|
|00003fc0| 69 73 74 65 72 65 64 20 | 67 72 65 77 20 67 72 65 |istered |grew gre|
|00003fd0| 61 74 65 72 20 74 68 61 | 6e 20 74 68 65 20 6e 75 |ater tha|n the nu|
|00003fe0| 6d 62 65 72 20 6f 66 20 | 66 6f 6e 74 20 66 61 6d |mber of |font fam|
|00003ff0| 69 6c 79 20 6e 75 6d 62 | 65 72 73 20 61 76 61 69 |ily numb|ers avai|
|00004000| 6c 61 62 6c 65 2c 20 62 | 75 74 20 61 6c 73 6f 20 |lable, b|ut also |
|00004010| 62 65 63 61 75 73 65 20 | 74 68 65 20 46 6f 6e 74 |because |the Font|
|00004020| 2f 44 41 20 4d 6f 76 65 | 72 20 28 76 65 72 73 69 |/DA Move|r (versi|
|00004030| 6f 6e 20 33 2e 38 2c 20 | 73 68 69 70 70 65 64 20 |on 3.8, |shipped |
|00004040| 77 69 74 68 20 53 79 73 | 74 65 6d 20 36 29 2c 20 |with Sys|tem 6), |
|00004050| 61 6e 64 20 74 68 65 20 | d2 4d 6f 76 65 72 d3 20 |and the |.Mover. |
|00004060| 62 75 69 6c 74 20 69 6e | 74 6f 20 74 68 65 20 53 |built in|to the S|
|00004070| 79 73 74 65 6d 20 37 20 | 46 69 6e 64 65 72 20 72 |ystem 7 |Finder r|
|00004080| 65 73 6f 6c 76 65 20 63 | 6f 6e 66 6c 69 63 74 73 |esolve c|onflicts|
|00004090| 20 62 65 74 77 65 65 6e | 20 66 6f 6e 74 20 49 44 | between| font ID|
|000040a0| 73 20 28 77 68 69 63 68 | 20 68 61 70 70 65 6e 65 |s (which| happene|
|000040b0| 64 20 61 6e 79 77 61 79 | 21 29 20 62 79 20 72 65 |d anyway|!) by re|
|000040c0| 6e 75 6d 62 65 72 69 6e | 67 20 74 68 65 20 66 6f |numberin|g the fo|
|000040d0| 6e 74 73 20 6f 6e 2d 74 | 68 65 2d 66 6c 79 2e 20 |nts on-t|he-fly. |
|000040e0| 54 68 65 72 65 20 69 73 | 20 6e 6f 20 66 6f 6e 74 |There is| no font|
|000040f0| 20 49 44 20 72 65 67 69 | 73 74 72 61 74 69 6f 6e | ID regi|stration|
|00004100| 20 61 6e 79 20 6d 6f 72 | 65 d1 65 78 63 65 70 74 | any mor|e.except|
|00004110| 20 66 6f 72 20 74 68 65 | 20 76 65 72 79 20 73 70 | for the| very sp|
|00004120| 65 63 69 61 6c 20 63 61 | 73 65 20 6f 66 20 4a 61 |ecial ca|se of Ja|
|00004130| 70 61 6e 65 73 65 20 4b | 61 6e 6a 69 20 27 46 4f |panese K|anji 'FO|
|00004140| 4e 44 27 d0 27 66 62 69 | 74 27 20 49 44 73 2c 20 |ND'.'fbi|t' IDs, |
|00004150| 61 6e 64 20 70 6f 74 65 | 6e 74 69 61 6c 6c 79 20 |and pote|ntially |
|00004160| 66 6f 72 20 4b 6f 72 65 | 61 6e 2c 20 43 68 69 6e |for Kore|an, Chin|
|00004170| 65 73 65 20 61 6e 64 20 | 6f 74 68 65 72 20 64 6f |ese and |other do|
|00004180| 75 62 6c 65 2d 62 79 74 | 65 20 66 6f 6e 74 73 2e |uble-byt|e fonts.|
|00004190| 0d 09 41 73 20 65 61 72 | 6c 79 20 61 73 20 41 70 |..As ear|ly as Ap|
|000041a0| 72 69 6c 20 31 39 38 38 | 2c 20 4d 2e 49 4d 2e 46 |ril 1988|, M.IM.F|
|000041b0| 6f 6e 74 4e 61 6d 65 73 | 20 72 65 63 6f 6d 6d 65 |ontNames| recomme|
|000041c0| 6e 64 65 64 20 74 68 65 | 20 75 73 65 20 6f 66 20 |nded the| use of |
|000041d0| 66 6f 6e 74 20 6e 61 6d | 65 73 20 72 61 74 68 65 |font nam|es rathe|
|000041e0| 72 20 74 68 61 6e 20 66 | 6f 6e 74 20 66 61 6d 69 |r than f|ont fami|
|000041f0| 6c 79 20 6e 75 6d 62 65 | 72 73 2e 20 20 53 69 6e |ly numbe|rs. Sin|
|00004200| 63 65 20 74 68 65 6e 2c | 20 74 68 65 20 72 65 63 |ce then,| the rec|
|00004210| 6f 6d 6d 65 6e 64 61 74 | 69 6f 6e 20 68 61 73 20 |ommendat|ion has |
|00004220| 62 65 65 6e 20 72 65 69 | 6e 66 6f 72 63 65 64 20 |been rei|nforced |
|00004230| 69 6e 20 49 6e 73 69 64 | 65 20 4d 61 63 69 6e 74 |in Insid|e Macint|
|00004240| 6f 73 68 20 56 6f 6c 75 | 6d 65 20 56 49 2c 20 70 |osh Volu|me VI, p|
|00004250| 61 67 65 20 31 32 2d 31 | 36 2e 20 46 6f 72 74 75 |age 12-1|6. Fortu|
|00004260| 6e 61 74 65 6c 79 2c 20 | 6d 6f 73 74 20 61 70 70 |nately, |most app|
|00004270| 6c 69 63 61 74 69 6f 6e | 73 20 68 61 76 65 20 62 |lication|s have b|
|00004280| 65 65 6e 20 67 6f 6f 64 | 20 61 62 6f 75 74 20 66 |een good| about f|
|00004290| 6f 6c 6c 6f 77 69 6e 67 | 20 74 68 69 73 20 72 65 |ollowing| this re|
|000042a0| 63 6f 6d 6d 65 6e 64 61 | 74 69 6f 6e 2e 20 55 6e |commenda|tion. Un|
|000042b0| 66 6f 72 74 75 6e 61 74 | 65 6c 79 2c 20 73 6f 6d |fortunat|ely, som|
|000042c0| 65 20 65 78 63 65 70 74 | 69 6f 6e 73 20 72 65 6d |e except|ions rem|
|000042d0| 61 69 6e 2c 20 65 76 65 | 6e 20 69 6e 20 41 70 70 |ain, eve|n in App|
|000042e0| 6c 65 d5 73 20 6f 77 6e | 20 73 6f 66 74 77 61 72 |le.s own| softwar|
|000042f0| 65 2e 20 51 75 69 63 6b | 44 72 61 77 20 50 69 63 |e. Quick|Draw Pic|
|00004300| 74 75 72 65 73 20 63 72 | 65 61 74 65 64 20 77 69 |tures cr|eated wi|
|00004310| 74 68 6f 75 74 20 33 32 | 2d 42 69 74 20 51 75 69 |thout 32|-Bit Qui|
|00004320| 63 6b 44 72 61 77 20 72 | 65 66 65 72 20 74 6f 20 |ckDraw r|efer to |
|00004330| 66 6f 6e 74 73 20 62 79 | 20 66 6f 6e 74 20 66 61 |fonts by| font fa|
|00004340| 6d 69 6c 79 20 6e 75 6d | 62 65 72 20 6f 6e 6c 79 |mily num|ber only|
|00004350| 21 20 0d 46 6f 72 20 6f | 62 76 69 6f 75 73 20 72 |! .For o|bvious r|
|00004360| 65 61 73 6f 6e 73 20 6f | 66 20 75 70 77 61 72 64 |easons o|f upward|
|00004370| 20 63 6f 6d 70 61 74 69 | 62 69 6c 69 74 79 20 28 | compati|bility (|
|00004380| 74 6f 20 6d 61 69 6e 74 | 61 69 6e 20 65 78 69 73 |to maint|ain exis|
|00004390| 74 69 6e 67 20 66 6f 6e | 74 73 2c 20 61 6e 64 20 |ting fon|ts, and |
|000043a0| 74 6f 20 61 76 6f 69 64 | 20 72 65 66 6c 6f 77 69 |to avoid| reflowi|
|000043b0| 6e 67 20 6f 66 20 65 78 | 69 73 74 69 6e 67 20 64 |ng of ex|isting d|
|000043c0| 6f 63 75 6d 65 6e 74 73 | 29 2c 20 74 68 65 20 69 |ocuments|), the i|
|000043d0| 6e 74 72 6f 64 75 63 74 | 69 6f 6e 20 6f 66 20 27 |ntroduct|ion of '|
|000043e0| 46 4f 4e 44 27 73 20 64 | 69 64 20 6e 6f 74 20 73 |FOND's d|id not s|
|000043f0| 6f 6c 76 65 20 61 6c 6c | 20 74 68 65 20 70 72 6f |olve all| the pro|
|00004400| 62 6c 65 6d 73 2e 20 54 | 68 69 73 20 69 73 20 77 |blems. T|his is w|
|00004410| 68 61 74 20 74 68 69 73 | 20 4e 6f 74 65 20 69 73 |hat this| Note is|
|00004420| 20 61 6c 6c 20 61 62 6f | 75 74 2e 0d 4d 6f 6f 66 | all abo|ut..Moof|
|00004430| 69 6e 67 20 46 6f 6e 74 | 73 0d 54 68 65 20 46 6f |ing Font|s.The Fo|
|00004440| 6e 74 2f 44 41 20 4d 6f | 76 65 72 20 75 74 69 6c |nt/DA Mo|ver util|
|00004450| 69 74 79 20 68 61 73 20 | 65 76 6f 6c 76 65 64 20 |ity has |evolved |
|00004460| 69 6e 74 6f 20 76 65 72 | 73 69 6f 6e 20 34 2e 31 |into ver|sion 4.1|
|00004470| 2c 20 77 68 69 63 68 20 | 6b 6e 6f 77 73 20 61 62 |, which |knows ab|
|00004480| 6f 75 74 20 27 73 66 6e | 74 27 73 2e 20 49 74 20 |out 'sfn|t's. It |
|00004490| 69 73 20 61 76 61 69 6c | 61 62 6c 65 20 6f 6e 20 |is avail|able on |
|000044a0| 74 68 65 20 44 65 76 65 | 6c 6f 70 65 72 20 43 44 |the Deve|loper CD|
|000044b0| 20 53 65 72 69 65 73 20 | 20 64 69 73 63 2c 20 70 | Series | disc, p|
|000044c0| 61 74 68 20 d2 54 6f 6f | 6c 73 20 26 20 41 70 70 |ath .Too|ls & App|
|000044d0| 73 20 28 4d 6f 6f 66 21 | 29 3a 20 4d 69 73 63 2e |s (Moof!|): Misc.|
|000044e0| 20 55 74 69 6c 69 74 69 | 65 73 3a d3 2e 20 54 68 | Utiliti|es:.. Th|
|000044f0| 65 20 46 69 6e 64 65 72 | 20 69 6e 20 53 79 73 74 |e Finder| in Syst|
|00004500| 65 6d 20 37 20 69 6e 63 | 6f 72 70 6f 72 61 74 65 |em 7 inc|orporate|
|00004510| 73 20 69 74 73 20 6f 77 | 6e 20 d2 4d 6f 76 65 72 |s its ow|n .Mover|
|00004520| d3 20 28 73 65 65 20 49 | 6e 73 69 64 65 20 4d 61 |. (see I|nside Ma|
|00004530| 63 69 6e 74 6f 73 68 20 | 56 6f 6c 75 6d 65 20 56 |cintosh |Volume V|
|00004540| 49 2c 20 70 61 67 65 20 | 39 2d 33 33 29 2c 20 77 |I, page |9-33), w|
|00004550| 68 69 63 68 20 6d 61 6b | 65 73 20 74 68 65 20 46 |hich mak|es the F|
|00004560| 6f 6e 74 2f 44 41 20 4d | 6f 76 65 72 20 72 65 64 |ont/DA M|over red|
|00004570| 75 6e 64 61 6e 74 20 66 | 6f 72 20 53 79 73 74 65 |undant f|or Syste|
|00004580| 6d 20 37 20 75 73 65 72 | 73 2e 0d 47 69 76 65 6e |m 7 user|s..Given|
|00004590| 20 74 68 65 20 63 6f 6d | 62 69 6e 61 74 6f 72 69 | the com|binatori|
|000045a0| 61 6c 20 65 78 70 6c 6f | 73 69 6f 6e 20 6f 66 20 |al explo|sion of |
|000045b0| 61 6c 6c 20 69 6d 61 67 | 69 6e 61 62 6c 65 20 73 |all imag|inable s|
|000045c0| 69 74 75 61 74 69 6f 6e | 73 20 77 69 74 68 20 27 |ituation|s with '|
|000045d0| 46 4f 4e 44 27 73 2c 20 | 27 46 4f 4e 54 27 73 2c |FOND's, |'FONT's,|
|000045e0| 20 27 4e 46 4e 54 27 73 | 20 61 6e 64 20 27 73 66 | 'NFNT's| and 'sf|
|000045f0| 6e 74 27 73 2c 20 61 6e | 64 20 73 74 79 6c 69 73 |nt's, an|d stylis|
|00004600| 74 69 63 20 76 61 72 69 | 61 74 69 6f 6e 73 20 6f |tic vari|ations o|
|00004610| 66 20 66 6f 6e 74 73 20 | 62 65 6c 6f 6e 67 69 6e |f fonts |belongin|
|00004620| 67 20 74 6f 20 74 68 65 | 20 73 61 6d 65 20 66 61 |g to the| same fa|
|00004630| 6d 69 6c 79 2c 20 74 68 | 65 20 66 6f 6e 74 20 6d |mily, th|e font m|
|00004640| 6f 76 69 6e 67 20 6a 6f | 62 20 64 65 73 65 72 76 |oving jo|b deserv|
|00004650| 65 73 20 72 65 73 70 65 | 63 74 2e 20 54 68 65 20 |es respe|ct. The |
|00004660| 66 6f 6c 6c 6f 77 69 6e | 67 20 6e 6f 74 65 73 20 |followin|g notes |
|00004670| 63 6f 76 65 72 20 73 6f | 6d 65 20 6c 65 73 73 20 |cover so|me less |
|00004680| 77 65 6c 6c 2d 6b 6e 6f | 77 6e 20 61 73 70 65 63 |well-kno|wn aspec|
|00004690| 74 73 20 6f 66 20 74 68 | 69 73 20 62 75 73 69 6e |ts of th|is busin|
|000046a0| 65 73 73 2e 0d a5 09 49 | 66 20 61 6e 20 6f 6c 64 |ess....I|f an old|
|000046b0| 20 d2 73 74 61 6e 64 61 | 6c 6f 6e 65 d3 20 27 46 | .standa|lone. 'F|
|000046c0| 4f 4e 54 27 20 28 77 69 | 74 68 6f 75 74 20 63 6f |ONT' (wi|thout co|
|000046d0| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 27 46 4f 4e |rrespond|ing 'FON|
|000046e0| 44 27 20 72 65 73 6f 75 | 72 63 65 29 20 69 73 20 |D' resou|rce) is |
|000046f0| 6d 6f 76 65 64 20 69 6e | 74 6f 20 61 20 73 75 69 |moved in|to a sui|
|00004700| 74 63 61 73 65 20 66 69 | 6c 65 2c 20 46 6f 6e 74 |tcase fi|le, Font|
|00004710| 2f 44 41 20 4d 6f 76 65 | 72 20 6f 72 20 74 68 65 |/DA Move|r or the|
|00004720| 20 53 79 73 74 65 6d 20 | 37 20 4d 6f 76 65 72 20 | System |7 Mover |
|00004730| 63 72 65 61 74 65 73 20 | 61 20 6d 69 6e 69 6d 61 |creates |a minima|
|00004740| 6c 20 27 46 4f 4e 44 27 | 20 72 65 73 6f 75 72 63 |l 'FOND'| resourc|
|00004750| 65 20 6f 6e 2d 74 68 65 | 2d 66 6c 79 2e 20 54 68 |e on-the|-fly. Th|
|00004760| 69 73 20 27 46 4f 4e 44 | 27 20 68 61 73 20 6e 6f |is 'FOND|' has no|
|00004770| 20 74 61 62 6c 65 73 2c | 20 61 6e 64 20 6e 65 61 | tables,| and nea|
|00004780| 72 6c 79 20 61 6c 6c 20 | 69 74 73 20 66 69 65 6c |rly all |its fiel|
|00004790| 64 73 20 61 72 65 20 7a | 65 72 6f 65 64 2e 20 54 |ds are z|eroed. T|
|000047a0| 68 65 20 53 79 73 74 65 | 6d 20 37 20 46 69 6e 64 |he Syste|m 7 Find|
|000047b0| 65 72 20 61 6c 73 6f 20 | 63 6f 6e 76 65 72 74 73 |er also |converts|
|000047c0| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 20 74 79 | the res|ource ty|
|000047d0| 70 65 20 66 72 6f 6d 20 | 27 46 4f 4e 54 27 20 74 |pe from |'FONT' t|
|000047e0| 6f 20 27 4e 46 4e 54 27 | 3b 20 20 75 6e 66 6f 72 |o 'NFNT'|; unfor|
|000047f0| 74 75 6e 61 74 65 6c 79 | 2c 20 74 68 65 20 46 6f |tunately|, the Fo|
|00004800| 6e 74 2f 44 41 20 4d 6f | 76 65 72 20 6b 65 65 70 |nt/DA Mo|ver keep|
|00004810| 73 20 74 68 65 20 72 65 | 73 6f 75 72 63 65 20 74 |s the re|source t|
|00004820| 79 70 65 20 27 46 4f 4e | 54 27 2e 0d 4e 6f 74 65 |ype 'FON|T'..Note|
|00004830| 3a 09 57 68 69 6c 65 20 | 69 74 20 69 73 20 70 65 |:.While |it is pe|
|00004840| 72 66 65 63 74 6c 79 20 | 6c 65 67 61 6c 20 74 6f |rfectly |legal to|
|00004850| 20 68 61 76 65 20 27 46 | 4f 4e 44 27 73 20 63 6f | have 'F|OND's co|
|00004860| 6e 74 69 6e 75 65 20 74 | 6f 20 72 65 66 65 72 65 |ntinue t|o refere|
|00004870| 6e 63 65 20 74 68 65 20 | 6f 6c 64 65 72 20 27 46 |nce the |older 'F|
|00004880| 4f 4e 54 27 20 74 79 70 | 65 2c 20 44 54 53 20 72 |ONT' typ|e, DTS r|
|00004890| 65 63 6f 6d 6d 65 6e 64 | 73 20 74 68 61 74 20 79 |ecommend|s that y|
|000048a0| 6f 75 20 61 76 6f 69 64 | 20 27 46 4f 4e 54 27 73 |ou avoid| 'FONT's|
|000048b0| 2e 20 41 63 63 65 73 73 | 69 6e 67 20 27 46 4f 4e |. Access|ing 'FON|
|000048c0| 54 27 73 20 69 73 20 6d | 75 63 68 20 73 6c 6f 77 |T's is m|uch slow|
|000048d0| 65 72 2c 20 73 69 6e 63 | 65 20 74 68 65 20 46 6f |er, sinc|e the Fo|
|000048e0| 6e 74 20 4d 61 6e 61 67 | 65 72 20 61 6c 77 61 79 |nt Manag|er alway|
|000048f0| 73 20 6c 6f 6f 6b 73 20 | 66 6f 72 20 27 46 4f 4e |s looks |for 'FON|
|00004900| 44 27 73 20 61 6e 64 20 | 27 4e 46 4e 54 27 73 20 |D's and |'NFNT's |
|00004910| 66 69 72 73 74 2e 20 4d | 6f 72 65 20 69 6d 70 6f |first. M|ore impo|
|00004920| 72 74 61 6e 74 6c 79 2c | 20 27 46 4f 4e 54 27 73 |rtantly,| 'FONT's|
|00004930| 20 61 72 65 20 74 72 6f | 75 62 6c 65 6d 61 6b 65 | are tro|ublemake|
|00004940| 72 73 20 69 66 20 61 6e | 20 61 70 70 6c 69 63 61 |rs if an| applica|
|00004950| 74 69 6f 6e 20 63 6f 6d | 65 73 20 77 69 74 68 20 |tion com|es with |
|00004960| 69 74 73 20 6f 77 6e 20 | 66 6f 6e 74 20 69 6e 20 |its own |font in |
|00004970| 69 74 73 20 72 65 73 6f | 75 72 63 65 20 66 6f 72 |its reso|urce for|
|00004980| 6b 2e 20 49 6d 61 67 69 | 6e 65 20 61 6e 20 61 70 |k. Imagi|ne an ap|
|00004990| 70 6c 69 63 61 74 69 6f | 6e 20 74 68 61 74 20 69 |plicatio|n that i|
|000049a0| 6e 63 6c 75 64 65 73 20 | 61 20 70 72 69 76 61 74 |ncludes |a privat|
|000049b0| 65 20 27 46 4f 4e 44 27 | 20 77 68 69 63 68 20 72 |e 'FOND'| which r|
|000049c0| 65 66 65 72 65 6e 63 65 | 73 20 61 20 27 46 4f 4e |eference|s a 'FON|
|000049d0| 54 27 20 69 6e 20 69 74 | 73 20 72 65 73 6f 75 72 |T' in it|s resour|
|000049e0| 63 65 20 66 6f 72 6b 20 | 62 79 20 72 65 73 6f 75 |ce fork |by resou|
|000049f0| 72 63 65 20 49 44 2e 20 | 57 68 65 6e 20 74 68 65 |rce ID. |When the|
|00004a00| 20 46 6f 6e 74 20 4d 61 | 6e 61 67 65 72 20 77 61 | Font Ma|nager wa|
|00004a10| 6e 74 73 20 74 6f 20 6c | 6f 61 64 20 74 68 65 20 |nts to l|oad the |
|00004a20| 66 6f 6e 74 20 72 65 73 | 6f 75 72 63 65 2c 20 69 |font res|ource, i|
|00004a30| 74 20 66 69 72 73 74 20 | 6c 6f 6f 6b 73 20 66 6f |t first |looks fo|
|00004a40| 72 20 61 20 72 65 73 6f | 75 72 63 65 20 6f 66 20 |r a reso|urce of |
|00004a50| 74 79 70 65 20 27 4e 46 | 4e 54 27 20 77 69 74 68 |type 'NF|NT' with|
|00004a60| 20 74 68 69 73 20 73 61 | 6d 65 20 72 65 73 6f 75 | this sa|me resou|
|00004a70| 72 63 65 20 49 44 2e 20 | 49 66 20 74 68 65 72 65 |rce ID. |If there|
|00004a80| d5 73 20 61 6e 20 27 4e | 46 4e 54 27 20 69 6e 20 |.s an 'N|FNT' in |
|00004a90| 74 68 65 20 53 79 73 74 | 65 6d 20 66 69 6c 65 20 |the Syst|em file |
|00004aa0| 77 69 74 68 20 74 68 65 | 20 73 61 6d 65 20 72 65 |with the| same re|
|00004ab0| 73 6f 75 72 63 65 20 49 | 44 2c 20 74 68 65 20 46 |source I|D, the F|
|00004ac0| 6f 6e 74 20 4d 61 6e 61 | 67 65 72 20 77 69 6c 6c |ont Mana|ger will|
|00004ad0| 20 70 69 63 6b 20 69 74 | 20 69 6e 73 74 65 61 64 | pick it| instead|
|00004ae0| 20 6f 66 20 74 68 65 20 | 27 46 4f 4e 54 27 20 66 | of the |'FONT' f|
|00004af0| 72 6f 6d 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |rom the |applicat|
|00004b00| 69 6f 6e d5 73 20 72 65 | 73 6f 75 72 63 65 20 66 |ion.s re|source f|
|00004b10| 6f 72 6b 2e 20 20 54 68 | 69 73 20 68 61 70 70 65 |ork. Th|is happe|
|00004b20| 6e 73 20 6d 6f 72 65 20 | 6f 66 74 65 6e 20 74 68 |ns more |often th|
|00004b30| 61 6e 20 79 6f 75 d5 64 | 20 6c 69 6b 65 20 74 6f |an you.d| like to|
|00004b40| 20 74 68 69 6e 6b 21 0d | a5 09 55 6e 64 65 72 20 | think!.|..Under |
|00004b50| 74 68 65 20 63 75 72 72 | 65 6e 74 20 66 6f 6e 74 |the curr|ent font|
|00004b60| 20 61 72 63 68 69 74 65 | 63 74 75 72 65 2c 20 74 | archite|cture, t|
|00004b70| 68 65 20 66 6f 6e 74 20 | 6e 61 6d 65 20 69 73 20 |he font |name is |
|00004b80| 74 68 65 20 72 65 73 6f | 75 72 63 65 20 6e 61 6d |the reso|urce nam|
|00004b90| 65 20 6f 66 20 74 68 65 | 20 27 46 4f 4e 44 27 20 |e of the| 'FOND' |
|00004ba0| 72 65 73 6f 75 72 63 65 | 20 28 6c 65 74 d5 73 20 |resource| (let.s |
|00004bb0| 66 6f 72 67 65 74 20 61 | 62 6f 75 74 20 27 46 4f |forget a|bout 'FO|
|00004bc0| 4e 54 27 73 20 61 6c 74 | 6f 67 65 74 68 65 72 29 |NT's alt|ogether)|
|00004bd0| 2c 20 73 6f 20 74 68 65 | 20 66 6f 6e 74 20 6e 61 |, so the| font na|
|00004be0| 6d 65 20 63 61 6e 20 62 | 65 20 61 6e 79 20 50 61 |me can b|e any Pa|
|00004bf0| 73 63 61 6c 20 73 74 72 | 69 6e 67 2e 20 55 6e 66 |scal str|ing. Unf|
|00004c00| 6f 72 74 75 6e 61 74 65 | 6c 79 2c 20 74 68 69 73 |ortunate|ly, this|
|00004c10| 20 63 6f 6e 66 6c 69 63 | 74 73 20 77 69 74 68 20 | conflic|ts with |
|00004c20| 74 68 65 20 33 31 2d 63 | 68 61 72 61 63 74 65 72 |the 31-c|haracter|
|00004c30| 20 6c 69 6d 69 74 61 74 | 69 6f 6e 20 6f 66 20 61 | limitat|ion of a|
|00004c40| 20 66 69 6c 65 20 6e 61 | 6d 65 20 77 68 65 6e 20 | file na|me when |
|00004c50| 74 68 65 20 53 79 73 74 | 65 6d 20 37 20 46 69 6e |the Syst|em 7 Fin|
|00004c60| 64 65 72 20 64 65 72 69 | 76 65 73 20 74 68 65 20 |der deri|ves the |
|00004c70| 66 69 6c 65 20 6e 61 6d | 65 20 6f 66 20 61 20 6d |file nam|e of a m|
|00004c80| 6f 76 61 62 6c 65 20 66 | 6f 6e 74 20 66 69 6c 65 |ovable f|ont file|
|00004c90| 20 28 49 6e 73 69 64 65 | 20 4d 61 63 69 6e 74 6f | (Inside| Macinto|
|00004ca0| 73 68 20 56 6f 6c 75 6d | 65 20 56 49 2c 20 70 61 |sh Volum|e VI, pa|
|00004cb0| 67 65 20 39 2d 33 34 29 | 20 66 72 6f 6d 20 74 68 |ge 9-34)| from th|
|00004cc0| 65 20 66 6f 6e 74 20 6e | 61 6d 65 2e 20 53 6f 6d |e font n|ame. Som|
|00004cd0| 65 20 74 68 69 72 64 2d | 70 61 72 74 79 20 66 6f |e third-|party fo|
|00004ce0| 6e 74 73 20 63 6f 6d 65 | 20 77 69 74 68 20 66 6f |nts come| with fo|
|00004cf0| 6e 74 20 6e 61 6d 65 73 | 20 6c 6f 6e 67 20 65 6e |nt names| long en|
|00004d00| 6f 75 67 68 20 74 6f 20 | 63 61 75 73 65 20 74 72 |ough to |cause tr|
|00004d10| 6f 75 62 6c 65 2e 20 20 | 59 6f 75 20 6d 61 79 20 |ouble. |You may |
|00004d20| 61 6c 73 6f 20 73 65 65 | 20 74 68 69 73 20 70 72 |also see| this pr|
|00004d30| 6f 62 6c 65 6d 20 77 68 | 65 6e 20 74 72 79 69 6e |oblem wh|en tryin|
|00004d40| 67 20 74 6f 20 6f 70 65 | 6e 20 61 20 73 75 69 74 |g to ope|n a suit|
|00004d50| 63 61 73 65 20 69 66 20 | 74 68 65 20 46 69 6e 64 |case if |the Find|
|00004d60| 65 72 20 63 61 6e 27 74 | 20 67 65 6e 65 72 61 74 |er can't| generat|
|00004d70| 65 20 64 69 73 74 69 6e | 63 74 20 6e 61 6d 65 73 |e distin|ct names|
|00004d80| 20 66 6f 72 20 61 6c 6c | 20 6f 66 20 74 68 65 20 | for all| of the |
|00004d90| 66 6f 6e 74 73 20 69 6e | 20 74 68 65 20 73 75 69 |fonts in| the sui|
|00004da0| 74 63 61 73 65 3b 20 74 | 68 65 20 46 69 6e 64 65 |tcase; t|he Finde|
|00004db0| 72 20 6d 61 79 20 73 61 | 79 20 74 68 65 20 73 75 |r may sa|y the su|
|00004dc0| 69 74 63 61 73 65 20 69 | 73 20 d2 64 61 6d 61 67 |itcase i|s .damag|
|00004dd0| 65 64 d3 20 77 68 65 6e | 20 69 74 20 69 73 20 6e |ed. when| it is n|
|00004de0| 6f 74 2e 0d 4e 6f 74 65 | 3a 09 45 61 63 68 20 54 |ot..Note|:.Each T|
|00004df0| 72 75 65 54 79 70 65 20 | 27 73 66 6e 74 27 20 72 |rueType |'sfnt' r|
|00004e00| 65 73 6f 75 72 63 65 20 | 63 6f 6e 74 61 69 6e 73 |esource |contains|
|00004e10| 20 61 20 4e 61 6d 69 6e | 67 20 54 61 62 6c 65 20 | a Namin|g Table |
|00004e20| 28 73 65 65 20 54 68 65 | 20 54 72 75 65 54 79 70 |(see The| TrueTyp|
|00004e30| 65 aa 20 46 6f 6e 74 20 | 46 6f 72 6d 61 74 20 53 |e. Font |Format S|
|00004e40| 70 65 63 69 66 69 63 61 | 74 69 6f 6e 2c 20 41 50 |pecifica|tion, AP|
|00004e50| 44 41 aa 20 4d 30 38 32 | 35 4c 4c 2f 41 29 20 77 |DA. M082|5LL/A) w|
|00004e60| 68 69 63 68 20 70 72 6f | 76 69 64 65 73 20 6e 65 |hich pro|vides ne|
|00004e70| 61 72 6c 79 20 75 6e 72 | 65 73 74 72 69 63 74 65 |arly unr|estricte|
|00004e80| 64 20 66 6f 6e 74 20 6e | 61 6d 69 6e 67 20 63 61 |d font n|aming ca|
|00004e90| 70 61 62 69 6c 69 74 69 | 65 73 2c 20 74 6f 20 61 |pabiliti|es, to a|
|00004ea0| 63 63 6f 6d 6d 6f 64 61 | 74 65 20 74 68 65 20 6e |ccommoda|te the n|
|00004eb0| 65 65 64 73 20 6f 66 20 | 66 6f 6e 74 20 6d 61 6e |eeds of |font man|
|00004ec0| 75 66 61 63 74 75 72 65 | 72 73 2e 20 41 20 66 6f |ufacture|rs. A fo|
|00004ed0| 72 74 68 63 6f 6d 69 6e | 67 20 4d 61 63 69 6e 74 |rthcomin|g Macint|
|00004ee0| 6f 73 68 20 54 65 63 68 | 6e 69 63 61 6c 20 4e 6f |osh Tech|nical No|
|00004ef0| 74 65 20 6f 6e 20 54 72 | 75 65 54 79 70 65 20 4e |te on Tr|ueType N|
|00004f00| 61 6d 69 6e 67 20 54 61 | 62 6c 65 73 20 67 69 76 |aming Ta|bles giv|
|00004f10| 65 73 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 69 6e |es addit|ional in|
|00004f20| 66 6f 72 6d 61 74 69 6f | 6e 2e 0d a5 09 51 75 69 |formatio|n....Qui|
|00004f30| 63 6b 44 72 61 77 20 61 | 6e 64 20 74 68 65 20 63 |ckDraw a|nd the c|
|00004f40| 75 72 72 65 6e 74 20 46 | 6f 6e 74 20 4d 61 6e 61 |urrent F|ont Mana|
|00004f50| 67 65 72 20 68 61 76 65 | 20 6e 6f 20 70 72 6f 76 |ger have| no prov|
|00004f60| 69 73 69 6f 6e 20 66 6f | 72 20 73 74 79 6c 69 73 |ision fo|r stylis|
|00004f70| 74 69 63 20 76 61 72 69 | 61 6e 74 73 20 6c 69 6b |tic vari|ants lik|
|00004f80| 65 20 d2 6c 69 67 68 74 | 2c d3 20 d2 6d 65 64 69 |e .light|,. .medi|
|00004f90| 75 6d 2c d3 20 d2 64 65 | 6d 69 2c d3 20 d2 62 6f |um,. .de|mi,. .bo|
|00004fa0| 6f 6b 2c d3 20 d2 62 6c | 61 63 6b 2c d3 20 d2 68 |ok,. .bl|ack,. .h|
|00004fb0| 65 61 76 79 2c d3 20 d2 | 65 78 74 72 61 2c d3 20 |eavy,. .|extra,. |
|00004fc0| d2 75 6c 74 72 61 2c d3 | 20 65 74 63 2e 2c 20 75 |.ultra,.| etc., u|
|00004fd0| 73 65 64 20 69 6e 20 74 | 68 65 20 63 6f 6e 74 65 |sed in t|he conte|
|00004fe0| 78 74 20 6f 66 20 70 72 | 6f 66 65 73 73 69 6f 6e |xt of pr|ofession|
|00004ff0| 61 6c 20 74 79 70 65 73 | 65 74 74 69 6e 67 2e 20 |al types|etting. |
|00005000| 54 68 65 72 65 66 6f 72 | 65 2c 20 65 61 63 68 20 |Therefor|e, each |
|00005010| 6f 66 20 74 68 65 73 65 | 20 76 61 72 69 61 6e 74 |of these| variant|
|00005020| 73 20 63 6f 6d 65 73 20 | 77 69 74 68 20 61 20 73 |s comes |with a s|
|00005030| 65 70 61 72 61 74 65 20 | 66 6f 6e 74 20 66 61 6d |eparate |font fam|
|00005040| 69 6c 79 20 72 65 73 6f | 75 72 63 65 2e 20 50 72 |ily reso|urce. Pr|
|00005050| 6f 62 61 62 6c 79 20 66 | 6f 72 20 72 65 61 73 6f |obably f|or reaso|
|00005060| 6e 73 20 6f 66 20 63 6f | 6e 73 69 73 74 65 6e 63 |ns of co|nsistenc|
|00005070| 79 2c 20 74 68 65 20 d2 | 69 74 61 6c 69 63 d3 20 |y, the .|italic. |
|00005080| 76 61 72 69 61 6e 74 73 | 20 68 61 76 65 20 74 68 |variants| have th|
|00005090| 65 69 72 20 6f 77 6e 20 | 66 6f 6e 74 20 66 61 6d |eir own |font fam|
|000050a0| 69 6c 79 20 72 65 73 6f | 75 72 63 65 73 20 61 73 |ily reso|urces as|
|000050b0| 20 77 65 6c 6c 2e 20 55 | 6e 66 6f 72 74 75 6e 61 | well. U|nfortuna|
|000050c0| 74 65 6c 79 2c 20 75 6e | 6c 65 73 73 20 65 61 63 |tely, un|less eac|
|000050d0| 68 20 27 46 4f 4e 44 27 | 20 72 65 66 65 72 65 6e |h 'FOND'| referen|
|000050e0| 63 65 73 20 62 6f 74 68 | 20 74 68 65 20 d2 70 6c |ces both| the .pl|
|000050f0| 61 69 6e d3 20 61 6e 64 | 20 74 68 65 20 d2 69 74 |ain. and| the .it|
|00005100| 61 6c 69 63 d3 20 66 6f | 6e 74 20 73 74 72 69 6b |alic. fo|nt strik|
|00005110| 65 73 2c 20 51 75 69 63 | 6b 44 72 61 77 20 77 69 |es, Quic|kDraw wi|
|00005120| 6c 6c 20 6e 6f 20 6c 6f | 6e 67 65 72 20 6b 6e 6f |ll no lo|nger kno|
|00005130| 77 20 61 20 63 75 73 74 | 6f 6d 69 7a 65 64 20 69 |w a cust|omized i|
|00005140| 74 61 6c 69 63 20 66 6f | 6e 74 20 73 74 72 69 6b |talic fo|nt strik|
|00005150| 65 20 65 78 69 73 74 73 | 2e 0d 09 49 74 20 69 73 |e exists|...It is|
|00005160| 20 66 61 69 72 6c 79 20 | 65 61 73 79 2c 20 75 73 | fairly |easy, us|
|00005170| 69 6e 67 20 53 79 73 74 | 65 6d 20 37 20 61 6e 64 |ing Syst|em 7 and|
|00005180| 20 52 65 73 45 64 69 74 | 2c 20 74 6f 20 6d 65 72 | ResEdit|, to mer|
|00005190| 67 65 20 74 77 6f 20 66 | 6f 6e 74 20 66 61 6d 69 |ge two f|ont fami|
|000051a0| 6c 69 65 73 20 28 6e 61 | 6d 65 64 2c 20 66 6f 72 |lies (na|med, for|
|000051b0| 20 65 78 6d 61 70 6c 65 | 2c 20 d2 6d 79 46 6f 6e | exmaple|, .myFon|
|000051c0| 74 d3 20 61 6e 64 20 d2 | 6d 79 46 6f 6e 74 20 69 |t. and .|myFont i|
|000051d0| 74 61 6c 69 63 d3 29 20 | 69 6e 74 6f 20 6f 6e 65 |talic.) |into one|
|000051e0| 2e 20 20 54 68 69 73 20 | 77 61 79 2c 20 51 75 69 |. This |way, Qui|
|000051f0| 63 6b 44 72 61 77 20 77 | 69 6c 6c 20 61 75 74 6f |ckDraw w|ill auto|
|00005200| 6d 61 74 69 63 61 6c 6c | 79 20 75 73 65 20 74 68 |maticall|y use th|
|00005210| 65 20 70 72 65 2d 64 65 | 73 69 67 6e 65 64 20 69 |e pre-de|signed i|
|00005220| 74 61 6c 69 63 20 66 6f | 6e 74 20 73 74 72 69 6b |talic fo|nt strik|
|00005230| 65 20 69 6e 73 74 65 61 | 64 20 6f 66 20 63 72 65 |e instea|d of cre|
|00005240| 61 74 69 6e 67 20 6f 6e | 65 20 61 6c 67 6f 72 69 |ating on|e algori|
|00005250| 74 68 6d 69 63 61 6c 6c | 79 2e 20 20 46 6f 6c 6c |thmicall|y. Foll|
|00005260| 6f 77 20 74 68 65 73 65 | 20 63 6f 6e 76 65 6e 69 |ow these| conveni|
|00005270| 65 6e 74 20 73 74 65 70 | 73 3a 20 0d 31 2e 09 4d |ent step|s: .1..M|
|00005280| 61 6b 65 20 73 75 72 65 | 20 74 68 65 72 65 20 69 |ake sure| there i|
|00005290| 73 20 6e 6f 20 72 65 73 | 6f 75 72 63 65 20 49 44 |s no res|ource ID|
|000052a0| 20 63 6f 6e 66 6c 69 63 | 74 20 62 65 74 77 65 65 | conflic|t betwee|
|000052b0| 6e 20 74 68 65 20 27 4e | 46 4e 54 27 73 20 61 6e |n the 'N|FNT's an|
|000052c0| 64 20 27 73 66 6e 74 27 | 73 20 62 65 6c 6f 6e 67 |d 'sfnt'|s belong|
|000052d0| 69 6e 67 20 74 6f 20 62 | 6f 74 68 20 66 61 6d 69 |ing to b|oth fami|
|000052e0| 6c 69 65 73 2e 0d 32 2e | 09 4d 61 6b 65 20 73 75 |lies..2.|.Make su|
|000052f0| 72 65 20 74 68 65 20 73 | 74 79 6c 65 20 62 69 74 |re the s|tyle bit|
|00005300| 73 20 66 6f 72 20 69 74 | 61 6c 69 63 20 61 72 65 |s for it|alic are|
|00005310| 20 73 65 74 20 69 6e 20 | 74 68 65 20 66 6f 6e 74 | set in |the font|
|00005320| 20 61 73 73 6f 63 69 61 | 74 69 6f 6e 20 74 61 62 | associa|tion tab|
|00005330| 6c 65 20 6f 66 20 d2 6d | 79 46 6f 6e 74 20 69 74 |le of .m|yFont it|
|00005340| 61 6c 69 63 2e d3 0d 33 | 2e 09 46 72 6f 6d 20 52 |alic...3|..From R|
|00005350| 65 73 45 64 69 74 d5 73 | 20 46 69 6c 65 20 6d 65 |esEdit.s| File me|
|00005360| 6e 75 2c 20 d2 47 65 74 | 20 49 6e 66 6f 2e 2e 2e |nu, .Get| Info...|
|00005370| d3 20 6f 6e 20 74 68 65 | 20 d2 6d 79 46 6f 6e 74 |. on the| .myFont|
|00005380| d3 20 27 46 4f 4e 44 27 | 20 72 65 73 6f 75 72 63 |. 'FOND'| resourc|
|00005390| 65 2e 20 20 57 72 69 74 | 65 20 64 6f 77 6e 20 74 |e. Writ|e down t|
|000053a0| 68 65 20 72 65 73 6f 75 | 72 63 65 20 49 44 20 6f |he resou|rce ID o|
|000053b0| 66 20 74 68 65 20 d2 6d | 79 46 6f 6e 74 d3 20 27 |f the .m|yFont. '|
|000053c0| 46 4f 4e 44 27 2e 0d 34 | 2e 09 46 72 6f 6d 20 52 |FOND'..4|..From R|
|000053d0| 65 73 45 64 69 74 d5 73 | 20 46 69 6c 65 20 6d 65 |esEdit.s| File me|
|000053e0| 6e 75 2c 20 d2 47 65 74 | 20 49 6e 66 6f 2e 2e 2e |nu, .Get| Info...|
|000053f0| d3 20 6f 6e 20 74 68 65 | 20 d2 6d 79 46 6f 6e 74 |. on the| .myFont|
|00005400| 20 69 74 61 6c 69 63 d3 | 20 27 46 4f 4e 44 27 2e | italic.| 'FOND'.|
|00005410| 20 20 43 68 61 6e 67 65 | 20 69 74 73 20 72 65 73 | Change| its res|
|00005420| 6f 75 72 63 65 20 49 44 | 20 74 6f 20 62 65 20 69 |ource ID| to be i|
|00005430| 64 65 6e 74 69 63 61 6c | 20 74 6f 20 74 68 65 20 |dentical| to the |
|00005440| 6f 6e 65 20 79 6f 75 20 | 77 72 6f 74 65 20 64 6f |one you |wrote do|
|00005450| 77 6e 20 69 6e 20 73 74 | 65 70 20 33 2e 20 20 43 |wn in st|ep 3. C|
|00005460| 68 61 6e 67 65 20 69 74 | 73 20 72 65 73 6f 75 72 |hange it|s resour|
|00005470| 63 65 20 6e 61 6d 65 20 | 74 6f 20 d2 6d 79 46 6f |ce name |to .myFo|
|00005480| 6e 74 2e d3 0d 35 2e 09 | 55 73 65 20 74 68 65 20 |nt...5..|Use the |
|00005490| 46 69 6e 64 65 72 20 69 | 6e 20 53 79 73 74 65 6d |Finder i|n System|
|000054a0| 20 37 20 74 6f 20 6d 6f | 76 65 20 74 68 65 20 63 | 7 to mo|ve the c|
|000054b0| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 68 65 20 d2 |ontents |of the .|
|000054c0| 6d 79 46 6f 6e 74 20 69 | 74 61 6c 69 63 d3 20 73 |myFont i|talic. s|
|000054d0| 75 69 74 63 61 73 65 20 | 69 6e 74 6f 20 74 68 65 |uitcase |into the|
|000054e0| 20 6f 72 69 67 69 6e 61 | 6c 20 d2 6d 79 46 6f 6e | origina|l .myFon|
|000054f0| 74 d3 20 73 75 69 74 63 | 61 73 65 2e 20 49 74 20 |t. suitc|ase. It |
|00005500| 77 69 6c 6c 20 6d 65 72 | 67 65 20 61 6c 6c 20 63 |will mer|ge all c|
|00005510| 6f 6e 73 74 69 74 75 65 | 6e 74 73 20 69 6e 74 6f |onstitue|nts into|
|00005520| 20 6f 6e 65 20 66 6f 6e | 74 20 61 73 73 6f 63 69 | one fon|t associ|
|00005530| 61 74 69 6f 6e 20 74 61 | 62 6c 65 2c 20 61 6e 64 |ation ta|ble, and|
|00005540| 20 74 68 75 73 20 65 6e | 61 62 6c 65 20 74 72 61 | thus en|able tra|
|00005550| 6e 73 70 61 72 65 6e 74 | 20 73 75 62 73 74 69 74 |nsparent| substit|
|00005560| 75 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 72 69 67 |ution of| the rig|
|00005570| 68 74 20 66 6f 6e 74 20 | 66 6f 72 20 51 75 69 63 |ht font |for Quic|
|00005580| 6b 44 72 61 77 d5 73 20 | 69 74 61 6c 69 63 20 73 |kDraw.s |italic s|
|00005590| 74 79 6c 65 2e 0d 56 65 | 72 73 69 6f 6e 20 4e 75 |tyle..Ve|rsion Nu|
|000055a0| 6d 62 65 72 73 0d 54 68 | 65 20 27 46 4f 4e 44 27 |mbers.Th|e 'FOND'|
|000055b0| 20 73 74 72 75 63 74 75 | 72 65 20 28 73 65 65 20 | structu|re (see |
|000055c0| 49 6e 73 69 64 65 20 4d | 61 63 69 6e 74 6f 73 68 |Inside M|acintosh|
|000055d0| 20 56 6f 6c 75 6d 65 20 | 49 56 2c 20 70 61 67 65 | Volume |IV, page|
|000055e0| 20 34 35 2c 20 d2 46 61 | 6d 52 65 63 d3 29 20 63 | 45, .Fa|mRec.) c|
|000055f0| 6f 6e 74 61 69 6e 73 20 | 61 20 66 69 65 6c 64 20 |ontains |a field |
|00005600| 66 66 56 65 72 73 69 6f | 6e 2c 20 61 6e 64 20 69 |ffVersio|n, and i|
|00005610| 6e 71 75 69 72 69 6e 67 | 20 6d 69 6e 64 73 20 6e |nquiring| minds n|
|00005620| 61 74 75 72 61 6c 6c 79 | 20 77 61 6e 74 20 74 6f |aturally| want to|
|00005630| 20 6b 6e 6f 77 20 6d 6f | 72 65 20 61 62 6f 75 74 | know mo|re about|
|00005640| 20 69 74 2e 20 42 65 66 | 6f 72 65 20 61 6e 79 74 | it. Bef|ore anyt|
|00005650| 68 69 6e 67 20 65 6c 73 | 65 2c 20 68 6f 77 65 76 |hing els|e, howev|
|00005660| 65 72 2c 20 70 6c 65 61 | 73 65 20 72 65 61 64 20 |er, plea|se read |
|00005670| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 64 69 |the foll|owing di|
|00005680| 73 63 6c 61 69 6d 65 72 | 3a 0d 44 69 73 63 6c 61 |sclaimer|:.Discla|
|00005690| 69 6d 65 72 3a 09 54 68 | 65 20 46 6f 6e 74 20 4d |imer:.Th|e Font M|
|000056a0| 61 6e 61 67 65 72 20 64 | 6f 65 73 20 6e 6f 74 20 |anager d|oes not |
|000056b0| 63 68 65 63 6b 20 76 65 | 72 73 69 6f 6e 20 6e 75 |check ve|rsion nu|
|000056c0| 6d 62 65 72 73 20 69 6e | 20 61 20 27 46 4f 4e 44 |mbers in| a 'FOND|
|000056d0| 27 2c 20 61 6e 64 20 77 | 65 20 72 65 63 6f 6d 6d |', and w|e recomm|
|000056e0| 65 6e 64 20 74 68 61 74 | 20 79 6f 75 20 6e 6f 74 |end that| you not|
|000056f0| 20 72 65 6c 79 20 6f 6e | 20 74 68 65 20 28 69 6e | rely on| the (in|
|00005700| 74 65 6e 74 69 6f 6e 61 | 6c 6c 79 20 76 61 67 75 |tentiona|lly vagu|
|00005710| 65 29 20 73 74 61 74 65 | 6d 65 6e 74 73 20 62 65 |e) state|ments be|
|00005720| 6c 6f 77 2c 20 62 75 74 | 20 72 61 74 68 65 72 20 |low, but| rather |
|00005730| 61 6e 61 6c 79 7a 65 20 | 74 68 65 20 64 61 74 61 |analyze |the data|
|00005740| 20 69 6e 20 74 68 65 20 | 27 46 4f 4e 44 27 69 6e | in the |'FOND'in|
|00005750| 64 65 70 65 6e 64 65 6e | 74 6c 79 2e 0d 43 75 72 |dependen|tly..Cur|
|00005760| 72 65 6e 74 6c 79 2c 20 | 76 61 6c 75 65 73 20 30 |rently, |values 0|
|00005770| 2e 2e 2e 33 20 6d 61 79 | 20 61 70 70 65 61 72 20 |...3 may| appear |
|00005780| 69 6e 20 74 68 65 20 66 | 66 56 65 72 73 69 6f 6e |in the f|fVersion|
|00005790| 20 66 69 65 6c 64 2c 20 | 77 69 74 68 20 74 68 65 | field, |with the|
|000057a0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 69 6e 74 65 6e | followi|ng inten|
|000057b0| 64 65 64 20 69 6e 74 65 | 72 70 72 65 74 61 74 69 |ded inte|rpretati|
|000057c0| 6f 6e 73 3a 0d 56 65 72 | 73 69 6f 6e 20 30 3a 09 |ons:.Ver|sion 0:.|
|000057d0| 55 73 75 61 6c 6c 79 20 | 69 6e 64 69 63 61 74 65 |Usually |indicate|
|000057e0| 73 20 74 68 61 74 20 74 | 68 65 20 27 46 4f 4e 44 |s that t|he 'FOND|
|000057f0| 27 20 68 61 73 20 62 65 | 65 6e 20 63 72 65 61 74 |' has be|en creat|
|00005800| 65 64 20 6f 6e 20 74 68 | 65 20 66 6c 79 20 62 79 |ed on th|e fly by|
|00005810| 20 74 68 65 20 46 6f 6e | 74 2f 44 41 20 4d 6f 76 | the Fon|t/DA Mov|
|00005820| 65 72 20 28 6f 72 20 74 | 68 65 20 53 79 73 74 65 |er (or t|he Syste|
|00005830| 6d 20 37 20 46 69 6e 64 | 65 72 29 2e 20 42 75 74 |m 7 Find|er). But|
|00005840| 20 74 68 65 20 27 46 4f | 4e 44 27 20 66 6f 72 20 | the 'FO|ND' for |
|00005850| 50 61 6c 61 74 69 6e 6f | 20 6f 6e 20 74 68 65 20 |Palatino| on the |
|00005860| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 20 64 69 73 |distribu|tion dis|
|00005870| 6b 73 20 6f 66 20 53 79 | 73 74 65 6d 20 37 20 69 |ks of Sy|stem 7 i|
|00005880| 73 20 61 20 63 6f 75 6e | 74 65 72 65 78 61 6d 70 |s a coun|terexamp|
|00005890| 6c 65 2e 0d 56 65 72 73 | 69 6f 6e 20 31 3a 09 4f |le..Vers|ion 1:.O|
|000058a0| 62 76 69 6f 75 73 6c 79 | 20 69 6e 64 69 63 61 74 |bviously| indicat|
|000058b0| 65 73 20 74 68 65 20 66 | 69 72 73 74 20 76 65 72 |es the f|irst ver|
|000058c0| 73 69 6f 6e 20 77 68 65 | 6e 20 27 46 4f 4e 44 27 |sion whe|n 'FOND'|
|000058d0| 73 20 63 61 6d 65 20 6f | 75 74 20 28 49 6e 73 69 |s came o|ut (Insi|
|000058e0| 64 65 20 4d 61 63 69 6e | 74 6f 73 68 20 56 6f 6c |de Macin|tosh Vol|
|000058f0| 75 6d 65 20 49 56 2c 20 | 70 61 67 65 20 33 36 29 |ume IV, |page 36)|
|00005900| 2e 0d 56 65 72 73 69 6f | 6e 20 32 3a 09 43 6f 72 |..Versio|n 2:.Cor|
|00005910| 72 65 73 70 6f 6e 64 73 | 20 74 6f 20 74 68 65 20 |responds| to the |
|00005920| 65 78 74 65 6e 73 69 6f | 6e 20 6f 66 20 74 68 65 |extensio|n of the|
|00005930| 20 27 46 4f 4e 44 27 20 | 66 6f 72 6d 61 74 20 64 | 'FOND' |format d|
|00005940| 6f 63 75 6d 65 6e 74 65 | 64 20 69 6e 20 49 6e 73 |ocumente|d in Ins|
|00005950| 69 64 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 56 6f |ide Maci|ntosh Vo|
|00005960| 6c 75 6d 65 20 56 2c 20 | 70 61 67 65 20 31 38 35 |lume V, |page 185|
|00005970| 20 28 77 68 69 63 68 20 | 64 6f 65 73 20 6e 6f 74 | (which |does not|
|00005980| 20 6d 65 61 6e 20 74 68 | 61 74 20 74 68 65 20 27 | mean th|at the '|
|00005990| 46 4f 4e 44 27 20 61 63 | 74 75 61 6c 6c 79 20 63 |FOND' ac|tually c|
|000059a0| 6f 6e 74 61 69 6e 73 20 | 61 20 62 6f 75 6e 64 69 |ontains |a boundi|
|000059b0| 6e 67 20 62 6f 78 20 74 | 61 62 6c 65 29 2e 0d 56 |ng box t|able)..V|
|000059c0| 65 72 73 69 6f 6e 20 33 | 3a 09 54 68 65 20 27 46 |ersion 3|:.The 'F|
|000059d0| 4f 4e 44 27 20 69 73 20 | 73 75 70 70 6f 73 65 64 |OND' is |supposed|
|000059e0| 20 74 6f 20 63 6f 6e 74 | 61 69 6e 20 61 20 62 6f | to cont|ain a bo|
|000059f0| 75 6e 64 69 6e 67 20 62 | 6f 78 20 74 61 62 6c 65 |unding b|ox table|
|00005a00| 2e 0d 54 68 69 73 20 62 | 72 69 6e 67 73 20 75 70 |..This b|rings up|
|00005a10| 20 61 6e 20 61 6e 6e 6f | 79 69 6e 67 20 66 61 63 | an anno|ying fac|
|00005a20| 74 2e 20 20 41 6c 6c 20 | 6d 65 61 73 75 72 65 6d |t. All |measurem|
|00005a30| 65 6e 74 20 76 61 6c 75 | 65 73 20 28 72 65 66 65 |ent valu|es (refe|
|00005a40| 72 72 69 6e 67 20 74 6f | 20 61 20 68 79 70 6f 74 |rring to| a hypot|
|00005a50| 68 65 74 69 63 61 6c 20 | 31 2d 70 6f 69 6e 74 20 |hetical |1-point |
|00005a60| 66 6f 6e 74 29 20 69 6e | 20 74 68 65 20 27 46 4f |font) in| the 'FO|
|00005a70| 4e 44 27 20 61 72 65 20 | 69 6e 20 61 20 31 36 2d |ND' are |in a 16-|
|00005a80| 62 69 74 20 66 69 78 65 | 64 2d 70 6f 69 6e 74 20 |bit fixe|d-point |
|00005a90| 66 6f 72 6d 61 74 2c 20 | 77 69 74 68 20 61 6e 20 |format, |with an |
|00005aa0| 69 6e 74 65 67 65 72 20 | 70 61 72 74 20 69 6e 20 |integer |part in |
|00005ab0| 74 68 65 20 68 69 67 68 | 2d 6f 72 64 65 72 20 34 |the high|-order 4|
|00005ac0| 20 62 69 74 73 20 61 6e | 64 20 61 20 66 72 61 63 | bits an|d a frac|
|00005ad0| 74 69 6f 6e 61 6c 20 70 | 61 72 74 20 69 6e 20 74 |tional p|art in t|
|00005ae0| 68 65 20 6c 6f 77 2d 6f | 72 64 65 72 20 31 32 20 |he low-o|rder 12 |
|00005af0| 62 69 74 73 2e 20 59 6f | 75 20 77 6f 75 6c 64 20 |bits. Yo|u would |
|00005b00| 65 78 70 65 63 74 20 74 | 68 61 74 20 6e 65 67 61 |expect t|hat nega|
|00005b10| 74 69 76 65 20 76 61 6c | 75 65 73 20 28 6c 69 6b |tive val|ues (lik|
|00005b20| 65 20 66 6f 72 20 66 66 | 44 65 73 63 65 6e 74 2c |e for ff|Descent,|
|00005b30| 20 6f 72 20 69 6e 20 74 | 68 65 20 6b 65 72 6e 69 | or in t|he kerni|
|00005b40| 6e 67 20 74 61 62 6c 65 | 73 29 20 61 72 65 20 72 |ng table|s) are r|
|00005b50| 65 70 72 65 73 65 6e 74 | 65 64 20 69 6e 20 74 68 |epresent|ed in th|
|00005b60| 65 20 75 73 75 61 6c 20 | 74 77 6f d5 73 2d 63 6f |e usual |two.s-co|
|00005b70| 6d 70 6c 65 6d 65 6e 74 | 20 66 6f 72 6d 61 74 2c |mplement| format,|
|00005b80| 20 73 75 63 68 20 74 68 | 61 74 20 73 74 61 6e 64 | such th|at stand|
|00005b90| 61 72 64 20 62 69 6e 61 | 72 79 20 61 72 69 74 68 |ard bina|ry arith|
|00005ba0| 6d 65 74 69 63 20 61 70 | 70 6c 69 65 73 2e 20 54 |metic ap|plies. T|
|00005bb0| 68 69 73 20 69 73 20 6d | 6f 73 74 6c 79 20 74 72 |his is m|ostly tr|
|00005bc0| 75 65 2c 20 62 75 74 20 | 6e 6f 74 20 61 6c 77 61 |ue, but |not alwa|
|00005bd0| 79 73 2e 20 41 67 61 69 | 6e 2c 20 50 61 6c 61 74 |ys. Agai|n, Palat|
|00005be0| 69 6e 6f 20 69 73 20 61 | 20 63 6f 75 6e 74 65 72 |ino is a| counter|
|00005bf0| 65 78 61 6d 70 6c 65 20 | 28 61 6e 64 20 70 72 6f |example |(and pro|
|00005c00| 62 61 62 6c 79 20 6e 6f | 74 20 74 68 65 20 6f 6e |bably no|t the on|
|00005c10| 6c 79 20 6f 6e 65 29 2e | 20 54 6f 20 6f 75 72 20 |ly one).| To our |
|00005c20| 6b 6e 6f 77 6c 65 64 67 | 65 2c 20 76 65 72 73 69 |knowledg|e, versi|
|00005c30| 6f 6e 20 30 20 61 6e 64 | 20 76 65 72 73 69 6f 6e |on 0 and| version|
|00005c40| 20 31 20 27 46 4f 4e 44 | 27 73 20 68 61 76 65 20 | 1 'FOND|'s have |
|00005c50| 6e 65 67 61 74 69 76 65 | 20 76 61 6c 75 65 73 20 |negative| values |
|00005c60| 72 65 70 72 65 73 65 6e | 74 65 64 20 69 6e 20 61 |represen|ted in a|
|00005c70| 20 66 6f 72 6d 61 74 20 | 77 68 65 72 65 20 74 68 | format |where th|
|00005c80| 65 20 6d 6f 73 74 20 73 | 69 67 6e 69 66 69 63 61 |e most s|ignifica|
|00005c90| 6e 74 20 62 69 74 20 69 | 73 20 74 68 65 20 73 69 |nt bit i|s the si|
|00005ca0| 67 6e 20 62 69 74 2c 20 | 61 6e 64 20 74 68 65 20 |gn bit, |and the |
|00005cb0| 72 65 73 74 20 72 65 70 | 72 65 73 65 6e 74 73 20 |rest rep|resents |
|00005cc0| 74 68 65 20 61 62 73 6f | 6c 75 74 65 20 76 61 6c |the abso|lute val|
|00005cd0| 75 65 2e 20 20 48 6f 77 | 65 76 65 72 2c 20 74 68 |ue. How|ever, th|
|00005ce0| 65 72 65 20 69 73 20 6e | 6f 74 68 69 6e 67 20 69 |ere is n|othing i|
|00005cf0| 6e 20 74 68 65 20 73 79 | 73 74 65 6d 20 73 6f 66 |n the sy|stem sof|
|00005d00| 74 77 61 72 65 20 74 68 | 61 74 20 65 6e 66 6f 72 |tware th|at enfor|
|00005d10| 63 65 73 20 74 68 69 73 | 2c 20 73 6f 20 63 6f 75 |ces this|, so cou|
|00005d20| 6e 74 65 72 65 78 61 6d | 70 6c 65 73 20 6d 61 79 |nterexam|ples may|
|00005d30| 20 65 78 69 73 74 2e 0d | 57 61 72 6e 69 6e 67 3a | exist..|Warning:|
|00005d40| 09 44 6f 6e d5 74 20 72 | 65 6c 79 20 6f 6e 20 74 |.Don.t r|ely on t|
|00005d50| 68 65 20 76 65 72 73 69 | 6f 6e 20 6e 75 6d 62 65 |he versi|on numbe|
|00005d60| 72 2c 20 62 75 74 20 69 | 6e 63 6c 75 64 65 20 73 |r, but i|nclude s|
|00005d70| 61 6e 69 74 79 20 63 68 | 65 63 6b 73 20 66 6f 72 |anity ch|ecks for|
|00005d80| 20 74 68 65 20 6e 65 67 | 61 74 69 76 65 20 76 61 | the neg|ative va|
|00005d90| 6c 75 65 73 20 69 6e 20 | 61 20 27 46 4f 4e 44 27 |lues in |a 'FOND'|
|00005da0| 20 69 6e 73 74 65 61 64 | 21 20 20 54 68 65 20 66 | instead|! The f|
|00005db0| 6f 6c 6c 6f 77 69 6e 67 | 20 50 61 73 63 61 6c 20 |ollowing| Pascal |
|00005dc0| 66 75 6e 63 74 69 6f 6e | 20 73 68 6f 77 73 20 68 |function| shows h|
|00005dd0| 6f 77 20 74 68 69 73 20 | 63 61 6e 20 62 65 20 64 |ow this |can be d|
|00005de0| 6f 6e 65 3a 0d 20 20 20 | 20 46 55 4e 43 54 49 4f |one:. | FUNCTIO|
|00005df0| 4e 20 43 68 65 63 6b 34 | 70 31 32 56 61 6c 75 65 |N Check4|p12Value|
|00005e00| 28 6e 3a 20 49 6e 74 65 | 67 65 72 29 3a 20 49 6e |(n: Inte|ger): In|
|00005e10| 74 65 67 65 72 3b 0d 20 | 20 20 20 7b 20 6e 20 69 |teger;. | { n i|
|00005e20| 73 20 61 20 34 2e 31 32 | 20 66 69 78 65 64 2d 70 |s a 4.12| fixed-p|
|00005e30| 6f 69 6e 74 20 76 61 6c | 75 65 3b 20 69 2e 65 2e |oint val|ue; i.e.|
|00005e40| 2c 20 69 74 73 20 22 72 | 65 61 6c 22 20 76 61 6c |, its "r|eal" val|
|00005e50| 75 65 20 69 73 20 6e 2f | 34 30 39 36 2e 20 20 20 |ue is n/|4096. |
|00005e60| 20 7d 0d 20 20 20 20 7b | 20 49 66 20 6e 20 69 73 | }. {| If n is|
|00005e70| 20 22 75 6e 72 65 61 73 | 6f 6e 61 62 6c 79 20 6e | "unreas|onably n|
|00005e80| 65 67 61 74 69 76 65 2c | 22 20 69 6e 74 65 72 70 |egative,|" interp|
|00005e90| 72 65 74 20 74 68 65 20 | 6d 6f 73 74 20 73 69 67 |ret the |most sig|
|00005ea0| 6e 69 66 69 63 61 6e 74 | 20 62 69 74 20 7d 0d 20 |nificant| bit }. |
|00005eb0| 20 20 20 7b 20 61 73 20 | 73 69 67 6e 20 62 69 74 | { as |sign bit|
|00005ec0| 2c 20 61 6e 64 20 63 6f | 6e 76 65 72 74 20 74 6f |, and co|nvert to|
|00005ed0| 20 74 68 65 20 75 73 75 | 61 6c 20 74 77 6f 27 73 | the usu|al two's|
|00005ee0| 20 63 6f 6d 70 6c 65 6d | 65 6e 74 20 66 6f 72 6d | complem|ent form|
|00005ef0| 61 74 2e 20 20 20 20 20 | 20 7d 0d 20 20 20 20 20 |at. | }. |
|00005f00| 20 20 42 45 47 49 4e 0d | 20 20 20 20 20 20 20 20 | BEGIN.| |
|00005f10| 20 20 49 46 20 6e 20 3c | 20 24 38 46 46 46 20 54 | IF n <| $8FFF T|
|00005f20| 48 45 4e 20 7b 20 6d 65 | 61 6e 73 3a 20 28 34 2e |HEN { me|ans: (4.|
|00005f30| 31 32 2d 69 6e 74 65 72 | 70 72 65 74 61 74 69 6f |12-inter|pretatio|
|00005f40| 6e 20 6f 66 20 6e 29 20 | 69 73 20 62 65 6c 6f 77 |n of n) |is below|
|00005f50| 20 2d 20 37 20 7d 0d 20 | 20 20 20 20 20 20 20 20 | - 7 }. | |
|00005f60| 20 20 20 20 43 68 65 63 | 6b 34 70 31 32 56 61 6c | Chec|k4p12Val|
|00005f70| 75 65 20 3a 3d 20 2d 20 | 42 69 74 41 6e 64 28 6e |ue := - |BitAnd(n|
|00005f80| 2c 24 37 46 46 46 29 0d | 20 20 20 20 20 20 20 20 |,$7FFF).| |
|00005f90| 20 7b 20 69 2e 65 2e 2c | 20 6d 61 73 6b 20 73 69 | { i.e.,| mask si|
|00005fa0| 67 6e 20 62 69 74 2c 20 | 61 6e 64 20 74 61 6b 65 |gn bit, |and take|
|00005fb0| 20 6e 65 67 61 74 69 76 | 65 20 6f 66 20 61 62 73 | negativ|e of abs|
|00005fc0| 6f 6c 75 74 65 20 76 61 | 6c 75 65 20 7d 0d 20 20 |olute va|lue }. |
|00005fd0| 20 20 20 20 20 20 20 20 | 45 4c 53 45 0d 20 20 20 | |ELSE. |
|00005fe0| 20 20 20 20 20 20 20 20 | 20 20 43 68 65 63 6b 34 | | Check4|
|00005ff0| 70 31 32 56 61 6c 75 65 | 20 3a 3d 20 6e 3b 0d 20 |p12Value| := n;. |
|00006000| 20 20 20 20 20 20 45 4e | 44 3b 0d 49 6e 20 74 68 | EN|D;.In th|
|00006010| 65 20 48 65 61 72 74 20 | 6f 66 20 74 68 65 20 46 |e Heart |of the F|
|00006020| 6f 6e 74 20 4d 61 6e 61 | 67 65 72 0d 53 77 61 70 |ont Mana|ger.Swap|
|00006030| 70 69 6e 67 20 46 6f 6e | 74 73 0d 41 73 20 73 74 |ping Fon|ts.As st|
|00006040| 61 74 65 64 20 69 6e 20 | 49 6e 73 69 64 65 20 4d |ated in |Inside M|
|00006050| 61 63 69 6e 74 6f 73 68 | 2c 20 74 68 65 72 65 20 |acintosh|, there |
|00006060| 69 73 20 6f 6e 6c 79 20 | 6f 6e 65 20 63 6f 6e 74 |is only |one cont|
|00006070| 61 63 74 20 62 65 74 77 | 65 65 6e 20 51 75 69 63 |act betw|een Quic|
|00006080| 6b 44 72 61 77 20 61 6e | 64 20 74 68 65 20 46 6f |kDraw an|d the Fo|
|00006090| 6e 74 20 4d 61 6e 61 67 | 65 72 3a 20 74 68 65 20 |nt Manag|er: the |
|000060a0| 46 4d 53 77 61 70 46 6f | 6e 74 20 66 75 6e 63 74 |FMSwapFo|nt funct|
|000060b0| 69 6f 6e 2e 20 45 61 63 | 68 20 6f 66 20 74 68 65 |ion. Eac|h of the|
|000060c0| 20 74 68 72 65 65 20 51 | 75 69 63 6b 44 72 61 77 | three Q|uickDraw|
|000060d0| 20 74 65 78 74 20 6d 65 | 61 73 75 72 69 6e 67 20 | text me|asuring |
|000060e0| 66 75 6e 63 74 69 6f 6e | 73 20 28 43 68 61 72 57 |function|s (CharW|
|000060f0| 69 64 74 68 2c 20 53 74 | 72 69 6e 67 57 69 64 74 |idth, St|ringWidt|
|00006100| 68 20 61 6e 64 20 54 65 | 78 74 57 69 64 74 68 29 |h and Te|xtWidth)|
|00006110| 20 61 6c 77 61 79 73 20 | 65 6e 64 73 20 75 70 20 | always |ends up |
|00006120| 69 6e 20 74 68 65 20 51 | 75 69 63 6b 44 72 61 77 |in the Q|uickDraw|
|00006130| 20 62 6f 74 74 6c 65 6e | 65 63 6b 20 70 72 6f 63 | bottlen|eck proc|
|00006140| 65 64 75 72 65 20 51 44 | 50 72 6f 63 73 2e 74 78 |edure QD|Procs.tx|
|00006150| 4d 65 61 73 50 72 6f 63 | 2e 20 45 61 63 68 20 6f |MeasProc|. Each o|
|00006160| 66 20 74 68 65 20 74 68 | 72 65 65 20 51 75 69 63 |f the th|ree Quic|
|00006170| 6b 44 72 61 77 20 74 65 | 78 74 20 64 72 61 77 69 |kDraw te|xt drawi|
|00006180| 6e 67 20 70 72 6f 63 65 | 64 75 72 65 73 20 28 44 |ng proce|dures (D|
|00006190| 72 61 77 43 68 61 72 2c | 20 44 72 61 77 53 74 72 |rawChar,| DrawStr|
|000061a0| 69 6e 67 20 61 6e 64 20 | 44 72 61 77 54 65 78 74 |ing and |DrawText|
|000061b0| 29 20 20 61 6c 77 61 79 | 73 20 65 6e 64 73 20 75 |) alway|s ends u|
|000061c0| 70 20 69 6e 20 74 68 65 | 20 51 44 50 72 6f 63 73 |p in the| QDProcs|
|000061d0| 2e 74 65 78 74 50 72 6f | 63 20 62 6f 74 74 6c 65 |.textPro|c bottle|
|000061e0| 6e 65 63 6b 20 70 72 6f | 63 65 64 75 72 65 2e 20 |neck pro|cedure. |
|000061f0| 41 6e 79 20 72 65 61 73 | 6f 6e 61 62 6c 65 20 74 |Any reas|onable t|
|00006200| 65 78 74 50 72 6f 63 20 | 28 6c 69 6b 65 20 53 74 |extProc |(like St|
|00006210| 64 54 65 78 74 29 20 6e | 65 65 64 73 20 74 6f 20 |dText) n|eeds to |
|00006220| 63 61 6c 6c 20 74 68 65 | 20 63 75 72 72 65 6e 74 |call the| current|
|00006230| 6c 79 2d 69 6e 73 74 61 | 6c 6c 65 64 20 74 65 78 |ly-insta|lled tex|
|00006240| 74 20 6d 65 61 73 75 72 | 69 6e 67 20 62 6f 74 74 |t measur|ing bott|
|00006250| 6c 65 6e 65 63 6b 20 70 | 72 6f 63 65 64 75 72 65 |leneck p|rocedure|
|00006260| 20 62 65 66 6f 72 65 20 | 61 63 74 75 61 6c 6c 79 | before |actually|
|00006270| 20 72 65 6e 64 65 72 69 | 6e 67 20 74 68 65 20 74 | renderi|ng the t|
|00006280| 65 78 74 2e 20 41 6e 64 | 20 77 68 61 74 20 64 6f |ext. And| what do|
|00006290| 65 73 20 61 6e 79 20 72 | 65 61 73 6f 6e 61 62 6c |es any r|easonabl|
|000062a0| 65 20 74 65 78 74 20 6d | 65 61 73 75 72 69 6e 67 |e text m|easuring|
|000062b0| 20 62 6f 74 74 6c 65 6e | 65 63 6b 20 70 72 6f 63 | bottlen|eck proc|
|000062c0| 65 64 75 72 65 28 6c 69 | 6b 65 20 53 74 64 54 78 |edure(li|ke StdTx|
|000062d0| 4d 65 61 73 29 20 64 6f | 20 66 69 72 73 74 2c 20 |Meas) do| first, |
|000062e0| 62 65 66 6f 72 65 20 61 | 6e 79 74 68 69 6e 67 20 |before a|nything |
|000062f0| 65 6c 73 65 3f 20 49 74 | 20 63 61 6c 6c 73 20 46 |else? It| calls F|
|00006300| 4d 53 77 61 70 46 6f 6e | 74 2c 20 74 6f 20 6d 61 |MSwapFon|t, to ma|
|00006310| 6b 65 20 73 75 72 65 20 | 77 65 20 61 72 65 20 74 |ke sure |we are t|
|00006320| 61 6c 6b 69 6e 67 20 61 | 62 6f 75 74 20 74 68 65 |alking a|bout the|
|00006330| 20 72 69 67 68 74 20 66 | 6f 6e 74 20 61 6e 64 20 | right f|ont and |
|00006340| 69 74 73 20 70 72 6f 70 | 65 72 74 69 65 73 21 20 |its prop|erties! |
|00006350| 28 54 6f 20 62 65 20 70 | 72 65 63 69 73 65 2c 20 |(To be p|recise, |
|00006360| 47 65 74 46 6f 6e 74 49 | 6e 66 6f 20 61 6e 64 20 |GetFontI|nfo and |
|00006370| 46 6f 6e 74 4d 65 74 72 | 69 63 73 20 61 72 65 20 |FontMetr|ics are |
|00006380| 74 68 65 20 6f 74 68 65 | 72 20 63 61 6c 6c 73 20 |the othe|r calls |
|00006390| 74 68 61 74 20 6d 61 6b | 65 20 73 75 72 65 20 74 |that mak|e sure t|
|000063a0| 68 65 20 72 69 67 68 74 | 20 66 6f 6e 74 20 69 73 |he right| font is|
|000063b0| 20 73 77 61 70 70 65 64 | 20 69 6e 20 61 6e 64 20 | swapped| in and |
|000063c0| 73 65 74 20 75 70 2c 20 | 77 69 74 68 6f 75 74 20 |set up, |without |
|000063d0| 72 65 71 75 69 72 69 6e | 67 20 79 6f 75 20 74 6f |requirin|g you to|
|000063e0| 20 63 61 6c 6c 20 46 4d | 53 77 61 70 46 6f 6e 74 | call FM|SwapFont|
|000063f0| 20 65 78 70 6c 69 63 69 | 74 6c 79 2e 29 0d 52 65 | explici|tly.).Re|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.